On 19/07/2006, at 4:52 AM, Piyush Shivam wrote:
Thanks for the snippet. I tried the suggested code and I found that the ls via shell takes much less time compared to doing it via perl.

-Piyush

While we're playing golf:

@files = <$a/$b*>

Backticks are so often misused in perl. I actually saw this just yesterday:

#!/usr/bin/perl
...
`perl -e '...' `

<sigh/>

Boyd

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to