We don't bite newbies here... much | |
PerlMonks |
Re: Off by one key... or yet another example of why strict and warnings are always a good idea (even for "one-liners")by shmem (Chancellor) |
on Jul 18, 2019 at 23:49 UTC ( [id://11102996]=note: print w/replies, xml ) | Need Help?? |
Setting up an alias in your shell's rc file helps - for bash:
You keep running your oneliners without strictures; but if something blows or feels fishy, you just interrupt and type
to run your latest command under strict and warnings.
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Meditations
|
|