$ perl -Mstrict -e '$test = "foo"' 2> error.log