Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Perl progname

by AltBlue (Chaplain)
on Aug 07, 2008 at 15:21 UTC ( [id://702901]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl progname
in thread Perl progname

/proc/$$/cmdline will reflect $0's modification, e.g.:
$ perl -le '$0="foo"; print qx "cat /proc/$$/cmdline"' foo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://702901]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2025-06-12 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.