"be consistent" | |
PerlMonks |
Re: Re: An alternative to File::Findby graff (Chancellor) |
on Jan 30, 2004 at 06:41 UTC ( [id://325153]=note: print w/replies, xml ) | Need Help?? |
Right -- that's nice. It would get rid of the "chomp $dir;", and ... um ... AH! It took me a while to get your point: Sometimes, one or more characters within a file name happens to be "\n"! (When this happens it's truly evil, but I know it does happen.) Thanks!
update: For some reason, the "/usr/bin/find" that comes with solaris 8 does not support the "-print0" flag -- need the GNU version to do that. Oh well.
In Section
Cool Uses for Perl
|
|