Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Finding what args were passed to the perl interpretter ?

by almut (Canon)
on Nov 19, 2008 at 23:43 UTC ( #724761=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ strace -e execve -s 200 perl -le '$/ = "\0"; open my $fh, "/proc/$$/
    +cmdline"; print for <$fh>'
    execve("/usr/local/bin/perl", ["perl", "-le", "$/ = \"\\0\"; open my $
    +fh, \"/proc/$$/cmdline\"; print for <$fh>"], [/* 71 vars */]) = 0
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2023-12-11 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?