http://www.perlmonks.org?node_id=928377


in reply to Different behavior when parsing $0 on Solaris and Win32

What happens when you run the script under the debugger? The -d option is there for a reason.

Try File::Basename::fileparse().

As Occam said: Entia non sunt multiplicanda praeter necessitatem.

  • Comment on Re: Different behavior when parsing $0 on Solaris and Win32