Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re4: A most obscure bug

by blakem (Monsignor)
on Dec 20, 2001 at 00:32 UTC ( #133257=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: A most obscure bug
in thread A most obscure bug

Interestingly, your warning is still in effect. The only way I can throw it is through this bug:
# OK, gets implied defined(), no warning, correct output % perl -lwe 'print while glob("{dog,cat,0,pig,cow}")' dog cat 0 pig cow # Buggy, no implied defined(), throws warning and misbehaves % perl -lwe 'print while $_ = glob("{dog,cat,0,pig,cow}")' Value of glob construct can be "0"; test with defined() at -e line 1 +. dog cat


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://133257]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2018-03-25 03:42 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (300 votes). Check out past polls.