Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Wrong dereference => Out of memory

by Anonymous Monk
on Oct 29, 2012 at 15:10 UTC ( #1001375=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $foo; $foo->[1] = 42;  # automatically sets $foo = [] before the
    # assignment so you end up with $foo = [undef, 42] instead of
    # dying with "Can't use undef as an ARRAY reference"
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2015-03-02 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (24 votes), past polls