in reply to Poll: Is your $^X an absolute path?
I tested four cases:
perl -le 'print $^X' /usr/bin/perl -le 'print $^X' /usr/bin/../bin/perl -le 'print $^X' ./prrl -le 'print $^X' ## symbolic link
The path returned by the program was absolute in all cases on:
In these systems, the program simply returned the same path used for invoking perl:
Not yet tested for various reasons:
Update: Added fourth test. Added SuSE Linux.
--
David Serrano
|
|---|