@picturelist = `ls -A $sourcepath`; $p = 1; while ($p <= $#picturelist){ if($picturelist[$p] =~ /thumbs/){splice @picturelist, $p,;} }
In reply to finding and deleting item from an array by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |