$ perl -e'$x="1"; otherwise $x' Can't call method "otherwise" without a package or object reference at -e line 1.