in reply to using strict from another module
I second Corion's sentiment: When you go to another machine and try to do a quickie, you may not have access to your personal module.
That said, I'd suggest creating a macro in your editor to plop in the important stuff. For example, if using vim, the command:
would insert a typical pair of lines at the start of your program when you enter ## in insert mode. Most editors have a similar macro feature. In fact, there have been several great threads about setting up editors for use with Perl. (I'd include some links here, but I'm still a newb, and don't know which ones are the best to include.):abbrev ## #!/usr/bin/perl -w^V^Muse strict;
--roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using strict from another module
by chromatic (Archbishop) on Mar 31, 2006 at 18:56 UTC | |
by xdg (Monsignor) on Apr 01, 2006 at 00:00 UTC | |
by roboticus (Chancellor) on Apr 01, 2006 at 16:56 UTC |