Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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

by rudder (Scribe)
on Apr 14, 2008 at 00:41 UTC ( #680182=note: print w/replies, xml ) Need Help??

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

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.

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://680182]
[Discipulus]: good morning community!
[Corion]: Good morning Discipulus!

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2018-06-19 07:08 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.