Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Autovivification in perl

by ikegami (Pope)
on Jan 10, 2014 at 20:27 UTC ( #1070189=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    push @{ $at_line{$string} //= [] }, $line_number;
    
  2. or download this
    push @{ $at_line{$string} ||= [] }, $line_number;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-12-22 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (116 votes), past polls