Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: one hash value (array) into another

by Enlil (Parson)
on Jan 06, 2004 at 18:25 UTC ( #319192=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %hash = (
              'one' => [
    ...
                       ],
              'two' => 3
            );
    
  2. or download this
    %hash = (
              'one' => [
    ...
                         'ghi'
                       ]
            );
    
  3. or download this
    $hash{'two'} = [ @{$hash{'one'}} ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-07-30 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?