Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: [Homework Question] Subroutines & References

by SuicideJunkie (Vicar)
on Feb 11, 2015 at 18:12 UTC ( [id://1116368]=note: print w/replies, xml ) Need Help??


in reply to Re^2: [Homework Question] Subroutines & References
in thread [Homework Question] Subroutines & References

"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.

  • Comment on Re^3: [Homework Question] Subroutines & References

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1116368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found