in reply to
dir / file split
This may help
find any Solaris gotchas (perlsolaris for 5.004 - I think).
Otherwise, might you be able to use the system's
find
command? That looks like a scary pattern to be determining files to delete :).
Portability of glob function in a modern perl
may help, too. Can you be more specific about
how
you are selecting files to "clean"?
Comment on
Re: dir / file split
Replies are listed 'Best First'.
Re^2: dir / file split
by
camelcom
(Sexton)
on Sep 28, 2007 at 13:27 UTC
I'm using MJD's dir_walk function from Higher Order Perl and the root dir for the clean is a very specific area of the filesystem: the regex shown is only being used to extract the filename from the full filepath returned by readdir... Thanks!
[reply]
Re^3: dir / file split
by
perlfan
(Parson)
on Sep 28, 2007 at 13:48 UTC
Interesting. I've that book for a while, and decided to pick it up last night...that was actually the application I was perusing.
[reply]
In Section
Seekers of Perl Wisdom