Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Mysterious append failure.

by broquaint (Abbot)
on Dec 09, 2004 at 12:39 UTC ( #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


Comment on Re: Mysterious append failure.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-12-25 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls