Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by TomDLux (Vicar)
on Sep 28, 2011 at 18:04 UTC ( #928377=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928377]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2016-12-06 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (117 votes). Check out past polls.