Perl Shell - A Solution

warn $@ if $@;

If the Perl command was invalid, we should print the evaluation error message to the user.

Recall: