P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
you can also use File::Find (as i've recently found)
something like: (i've not tested this!) sure, this is not the fastest way (someone on the above referenced node timed the native find vs File::Find, with native winning by a factor of 5), but it's a way. also, be careful of the greps to remove the . and .. entries... it's legal to have directories that start with a period (or two, or more), so you have to do an exact match on both cases. (i think)
i too am a newbie here, and i've been thanking people... (ps: please forgive the expanded syntax, but it's (to my unPerlish eye) easier to read!) In reply to Re: Re: Create a list of directories without . and ..
by u914
|
|