Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: [Homework Question] Subroutines & Referencesby SuicideJunkie (Vicar) |
on Feb 11, 2015 at 18:12 UTC ( [id://1116368]=note: print w/replies, xml ) | Need Help?? |
"Correct bracket location" doesn't enter into it. The hint is that your final print statement is deeply indented after tidying. It is indented to the same level as the if statement, because that's where it goes based on the brackets you wrote. You didn't want it to be at the same level as the if statement, and that's the clue that you need to add the close brackets.
In Section
Seekers of Perl Wisdom
|
|