Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: What is the difference between a list and an array?

by belg4mit (Prior)
on Dec 11, 2001 at 09:09 UTC ( [id://130864]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %F =   (a=>1, b=>2, c=>3);
    my @F = qw(a 1 b 2 c 3);
    foo(%F);
    foo(@F);
    
  2. or download this
    #New simpler code to avoid slices
    my %F =   (a=>1);
    my @F = qw(a 1);
    foo(%F);
    foo(@F);
    

Log In?
Username:
Password:

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

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

    No recent polls found