$ perl -e 'warn' Warning: something's wrong at -e line 1. $ perl -e 'warn $a' Warning: something's wrong at -e line 1.