|Perl: the Markov chain saw|
Different behavior when parsing $0 on Solaris and Win32by dirac (Beadle)
|on Sep 28, 2011 at 12:37 UTC||Need Help??|
dirac has asked for the
wisdom of the Perl Monks concerning the following question:
I have tried to extract the name of the running script without his extension, to create a new file with same name but with ".log" at end.
On win32 it works fine, but on Solaris I get only ".log".
This is the code:
On Win32 the output is:
On Solaris with perl, v5.8.8 built for sun4-solaris