in reply to Re^2: Perl losing, unfairly
in thread Perl losing, unfairly
Actually, I missed that in the File::Find example. In fact either the Perl test (and some others) is invalid or the shell test (and some others) is.
The shell script compiles recursively, and the Perl has a check to avoid compiling recursively. One of them violates the goal of the script
As far as the exit stuff goes, I realized that it could be written better as:
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
The shell script compiles recursively, and the Perl has a check to avoid compiling recursively. One of them violates the goal of the script
As far as the exit stuff goes, I realized that it could be written better as:
I emailed the author with the exit changes (and reiterated your File::Find findings). Hopefully he will resolve them.exit !-e "/etc/mtab"
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl losing, unfairly
by demerphq (Chancellor) on Jun 16, 2004 at 13:01 UTC | |
by PodMaster (Abbot) on Jun 16, 2004 at 13:09 UTC | |
by dreadpiratepeter (Priest) on Jun 16, 2004 at 13:14 UTC |
In Section
Meditations