Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Perl bug ?

by vsespb (Hermit)
on Feb 06, 2013 at 11:58 UTC ( #1017396=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl bug ?
in thread Perl bug ?

You are right.

#!/usr/bin/perl my $errors = undef; $errors->[0]; print $errors
prints ARRAY(0x15bad48). I didn't realize that autovivification happens even on read-only access =)


Comment on Re^2: Perl bug ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2015-06-02 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (116 votes), past polls