Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: re-useing a hash

by 5mi11er (Deacon)
on Apr 20, 2005 at 19:39 UTC ( [id://449740]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    foreach my $j (sort keys %hash) {
       print "hash{$j} = $hash{$j}\n";
    }
    
  2. or download this
    hash{0} = 0
    hash{1} = 3
    ...
    hash{7} = 7
    hash{8} = 7
    hash{9} = 7
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://449740]
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: (3)
As of 2024-04-24 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found