in reply to hash loop print

I went and read my book just like you said I should: for basc perl my (%numbers); push @{$numbers{found} }, "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"; for (0 .. 9) { print $numbers{found}$_; }

Replies are listed 'Best First'.
RE: Re: hash loop print
by kelsey (Initiate) on Oct 06, 2000 at 21:00 UTC
    my (%numbers); push @{$numbers{found} }, "1", "2", "3", "4", "5", "6", "7", "8", +"9", "10"; for (0 .. 9) { print $numbers{found}[$_]. "\n"; }