in reply to Learning Perl Vars

Relying on $^X can be dangerous ... ;-)

$ perl -e 'print $^X,$/' /home/share/perl5/bin/perl

The output from the above is then "nuet another perl hacper," or "tu5t another perl hacder," depending on which perl I use to run it with ;-) Only if I actually run it via "/usr/bin/perl" do I get the desired result...

Replies are listed 'Best First'.
Re^2: Learning Perl Vars
by cristian (Hermit) on Mar 30, 2005 at 14:04 UTC
    Yes , you have reason. I update this code . thanks. Now the code run in all path