Writing one liners with perl5i is a little annoying because it wants me to predeclare all my variables. Strict is on. I think that's a little silly. If $0 is -e turn strict vars off. Leave the rest on.
The Devel-Delcare workaround in my master turns -e into a real program. We could add 'no strict' to the top of the generated script file solving this problem.
I think you probably want strict vars disabled for perl -Mperl5i::2 -e '$fun="yay"; say $fun;' too
perl -Mperl5i::2 -e '$fun="yay"; say $fun;'
No strict vars for one-liners
This disables strict vars for one-liners using the perl5i
executable, or when perl5i is loaded manually:
perl -Mperl5i::latest -e '$fun="yay"; say $fun;'
Fixed by #194
I just couldn't read that list. But that used to be two commits, I'm not sure what I did to squash them :\