Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
@picturelist = `ls -A $sourcepath`; $p = 1; while ($p <= $#picturelist){ if($picturelist[$p] =~ /thumbs/){splice @picturelist, $p,;} }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: finding and deleting item from an array
by tachyon (Chancellor) on Jul 01, 2001 at 05:21 UTC | |
(ar0n) Re: finding and deleting item from an array
by ar0n (Priest) on Jul 01, 2001 at 05:25 UTC | |
Re: finding and deleting item from an array
by srawls (Friar) on Jul 01, 2001 at 05:24 UTC | |
Re: finding and deleting item from an array
by Zed (Initiate) on Jul 01, 2001 at 09:09 UTC | |
by Zed (Initiate) on Jul 01, 2001 at 13:26 UTC |