Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^8: Referencing the locals

by haukex (Archbishop)
on Apr 29, 2021 at 17:55 UTC ( [id://11131887]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    __END__
    
    { cat => [1, "cat", 3, 4], dog => [5, 6], pig => [4, 3, 2, 1] }
    
  2. or download this
    my @cat=(1,2,3);
    my @dog=(5,6);
    ...
    $animals{'cat'}=\@cat;
    $animals{'dog'}=\@dog;
    $animals{'pig'}=\@pig;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-18 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found