in reply to Re^4: replicating the command 'unset LIBPATH' in perl
in thread replicating the command 'unset LIBPATH' in perl
#!/usr/bin/perl -- BEGIN { unless( $ENV{ +__FILE__ } eq __FILE__ ){ delete $ENV{LIBPATH}; $ENV{ +__FILE__ } = __FILE__; exec $^X, __FILE__, @ARGV; # relaunch without LIBPATH } } ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: replicating the command 'unset LIBPATH' in perl
by JavaFan (Canon) on May 18, 2010 at 07:35 UTC | |
by viffer (Beadle) on May 19, 2010 at 02:07 UTC | |
by Anonymous Monk on May 19, 2010 at 03:06 UTC | |
by viffer (Beadle) on May 19, 2010 at 06:33 UTC | |
by ikegami (Patriarch) on May 19, 2010 at 06:55 UTC | |
|