Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Mysterious append failure.

by broquaint (Abbot)
on Dec 09, 2004 at 12:39 UTC ( [id://413498]=note: print w/replies, xml ) Need Help??


in reply to Mysterious append failure.

Because you're declaring a variable in a loop and it falls out of scope outside of the loop e.g
perl -we "my $a = q[foo] for 1; print $a" Use of uninitialized value in print at -e line 1.
It's statement modifier abuse essentially.
HTH

_________
broquaint

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found