in reply to hash loop print
#!/usr/bin/perl -w for (1 .. 10) { $numbers{$_} = $_ . "\n"; } for (1 .. 10) { print $numbers{$_}; }
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: hash loop print
by kelsey (Initiate) on Oct 06, 2000 at 19:26 UTC |
In Section
Seekers of Perl Wisdom