[Padre-dev] Mistake in padre (executable)

Offer Kaye offer.kaye at gmail.com
Wed Apr 1 04:47:10 PDT 2009


Hi,
The 'padre' file installed in perl/bin has what I think is a mistake -
line 44 says:

{{{
unless ( $^O eq 'MSWin32' or $ENV{PADRE_DEV} or grep /^(-h|--help)$/, @ARGV) {
}}}

I think the grep will never return anything since @ARGV is empty at
this point (Getopt::Long::GetOptions already ran and empties it).

Also, could someone explain please (or even better add comment in the
code) what is the purpose of the fork() and using threads?

Thanks,
-- 
Offer Kaye


More information about the Padre-dev mailing list