Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Creating Dictionaries

by Perl Mouse (Chaplain)
on Dec 16, 2005 at 13:56 UTC ( [id://517239]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my (%hash, $line);
    while ($line = <STDIN>) {
    ...
        }
    }
    print "$_\n" for sort keys %hash;
    
  2. or download this
    my ($line, $prev);
    $prev = "";
    ...
            $prev = $word;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-28 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found