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

Re^2: Syntax error - "my" within foreach loop

by chromatic (Archbishop)
on Apr 13, 2008 at 21:10 UTC ( [id://680160]=note: print w/replies, xml ) Need Help??


in reply to Re: Syntax error - "my" within foreach loop
in thread Syntax error - "my" within foreach loop

Which diagnostic do you have in mind?

  • Comment on Re^2: Syntax error - "my" within foreach loop

Replies are listed 'Best First'.
Re^3: Syntax error - "my" within foreach loop
by rudder (Scribe) on Apr 14, 2008 at 00:41 UTC

    I've never used diagnostics with more sophistication than simply putting a "use diagnostics;" at the top of a script that's failing with a message that I don't understand.

    Though, I probably should've tried it with the OP's code before submitting my comment here, as it doesn't seem to reveal anything pithy that's not already in the orginal error message.

    In my defense, Klammer says he's a beginner, and it seemed like a good idea to recommend "use diagnostics;" in general, in case he was unaware of it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found