while (<>) { if (/^!(.*)/) {eval system $1;} else {eval; print $@;} } [download]
In reply to Re: Interactive perl by chas in thread Interactive perl by Securiger