in reply to Catch the exact command line including the quotation marks and so on
Then you can use the module in all your scripts or add as command line arg:# HistorySaver.pm use strict; use warnings; BEGIN{ print join " ", $^X,($^C ? '-c' : ''),(${^TAINT} ? '-T':''),$^W + ? '-w' :'',$0,@ARGV; } 1; # a true value!
perl -MHistorySaver -w scripts.pl --long 43 --good kawasaki
|
|---|