Grant Jacobs wrote:

Item: Obtaining complete Unix command line that evoked script as a string

use Unix::PID;

my $pid = Unix::PID->new();
print 'The kernel says I am: ' . $pid->get_command($$);

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to