Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Use 'ls' to read files in perl????

by AndyZaft (Hermit)
on Jul 08, 2010 at 13:43 UTC ( [id://848693] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Use 'ls' to read files in perl????
in thread Use 'ls' to read files in perl????

Yup, I figured glob is better, although I never read the PBP stuff before. Thank you for pointing it out and for the links, I like to learn how to use tools better. Even if only use them occasionally, it looks like I only use perl every decade or so. In any case I guess it was good to give him a different solution because this way we got an explanation why he should stick to glob :)