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

Re^2: Is it possible to determine last executed command line?

by bdimych (Monk)
on Dec 03, 2007 at 10:53 UTC ( [id://654540]=note: print w/replies, xml ) Need Help??


in reply to Re: Is it possible to determine last executed command line?
in thread Is it possible to determine last executed command line?

>Is it this that bothers you?

No it is not. There are several places over my project where retcode_full_test() is called. So I just thought about minimize changes.

After that, I'd thought, if global $? exists, why could not exist $"last_command_line"

That's all, in general

  • Comment on Re^2: Is it possible to determine last executed command line?

Replies are listed 'Best First'.
Re^3: Is it possible to determine last executed command line?
by cdarke (Prior) on Dec 03, 2007 at 13:04 UTC
    There is not much Perl can do about this. If you insist on invoking a shell then all that Perl can do is report what the shell returned. Anything further is outside its control.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-26 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found