in reply to •Re: question regarding slices
in thread question regarding slices
This is probably not what was desired in the first place, since it adds more lines of code, but I thought this would be interesting.@l = readdir(PRINT) ; %h{@l} = (1) x @l ; delete @h{'.', '..'} ; for( keys %h ) { # do work }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: •Re: question regarding slices
by merlyn (Sage) on Nov 07, 2003 at 13:47 UTC |