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

Re^5: Returning hash reference from a sub

by tobias_hofer (Friar)
on Mar 18, 2013 at 14:13 UTC ( #1024057=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $VAR1 = {
              'names' => 'mary',
    ...
              'names' => 'Doe',
              'names  => ''
    };
    
  2. or download this
    $VAR1 = [
             { 'names' => 'mary'},
    ...
             { 'names' => 'Doe'},
             { 'names  => ''}
    ];
    
  3. or download this
    $VAR1 =  { 'names' => ['mary','john','Doe','']};
    ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024057]
help
Chatterbox?
[LanX]: auto-subtitles in YT are entertaining: "fuehrer" instead of fewer, "jews" instead of juice ...
Discipulus never noticed there was subtitles... can I call them with &subtitle or is too much perl 4?
[LanX]: YT=youtube
[Discipulus]: ;=) yes i'm not SO dumb

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-06-23 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (552 votes). Check out past polls.