Don't ask to ask, just ask | |
PerlMonks |
Re^2: Starting a New Scriptby stevieb (Canon) |
on Sep 16, 2016 at 18:55 UTC ( [id://1171957]=note: print w/replies, xml ) | Need Help?? |
Yes, exactly that. I usually start with this: #!/usr/bin/perl 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:
...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 Section
Meditations
|
|