http://qs321.pair.com?node_id=654540


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

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.