Yes, exactly that. I usually start with this: #!/usr/bin/perluse v5.12; use warnings;
As do I, but for a few years now, I've left out the shebang line and use a call to perl instead. Whether I'm using an IDE (intelliJ IDEA with Vim plugin) or just Vim, I have a macro in my .vimrc that inserts it for me:
iab _perl use warnings;<CR>use strict;<CR>Any time I'm writing a Perl file, I just go into Insert Mode, and type _perl, and it injects:
use warnings; use strict;
...of course, I have a couple of others, but that's the one I use most often.
As far as usefulness of the OPs project, I'd have to see it, but I doubt I'd be inclined to use it to be honest, for reasons yourself (afoken) and Your Mother have stated.
...and LOL at "the snake lovers"... I code in Python because I'm FORCED to, damnit! ;)
In reply to Re^2: Starting a New Script
by stevieb
in thread Starting a New Script
by LloydRice
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |