If you want *really* short use a glob:
$path = 'c:/'; @sheets = <$path*xls>;
This lets you skip the opendir, readdir, closedir and grep steps.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: grep using substr
by tachyon
in thread grep using substr
by Bloodelf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |