in reply to Is it possible to determine last executed command line?
Or are you referring to Perl statements?
If yes, you can often use something like that:
open($handle, '<', $file) or die "Can't open '$file' for reading: $!";
The or checks the return value of open, the last Perl statement.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is it possible to determine last executed command line?
by bdimych (Monk) on Dec 03, 2007 at 10:07 UTC | |
by apl (Monsignor) on Dec 03, 2007 at 10:55 UTC | |
by graff (Chancellor) on Dec 04, 2007 at 00:42 UTC | |
by ikegami (Patriarch) on Dec 04, 2007 at 01:38 UTC | |
by sgifford (Prior) on Dec 04, 2007 at 06:21 UTC |