In a new Padre 0.78 installation I get two warnings when launching Padre: padre Use of uninitialized value in scalar assignment at /home/gabor/perl5/bin/padre line 15. Use of uninitialized value in scalar assignment at /home/gabor/perl5/bin/padre line 101.
the former is local $SIG{__DIE__} = $ENV{PADRE_DIE} ? sub { print STDERR Carp::longmess "\nDIE: @_\n" . ( "-" x 80 ) . "\n" } : $SIG{__DIE__}; the latter is local $ENV{PADRE_HOME} = defined($HOME) ? $HOME : $ENV{PADRE_HOME}; So apparently both $SIG{__DIE__}, $HOME and $ENV{PADRE_HOME} are undef in this situation. We could write more code to eliminate the warnings (or we could say "no warnings") but I wonder: Why do we need to call "local" on the variables that are global to the whole application? regards Gabor _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev