Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

how to split hash into two arrays

by baxy77bax (Deacon)
on Jul 07, 2009 at 07:49 UTC ( [id://777777]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    my $array->[0] = $arg{key1};
    my $key->[0] = 'key1' if ($array->[0]);
    
  2. or download this
    
    sub _sub {
    ...
    $array->[3] = $arg{key4};
    ...
    }
    
  3. or download this
    _sub(key3 => 'big-mama');
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://777777]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2024-03-28 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found