loris has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
Having just shot myself in the foot (again) by doing
sub shootFoot { my $inTheFootShoot = shift; ... }
in a object-oriented context instead of
sub shootFoot { my ($self,$inTheFootShoot) = @_; ... }
and spent a long time trying to figure out what was wrong, I was wondering if anyone knows of any templating stuff for Emacs, whereby one could insert a method template simply by pressing Ctl/Esc and half a dozen other keys simultaneously. That way I would hope to reduce the chance of such mistakes in the future and thus spare my feet.
BTW, you may suggest wonderful things I could do with other editors, but my religious blindness will almost certainly cause me to ignore them.
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl templates for Emacs?
by Fletch (Bishop) on Jun 30, 2005 at 12:26 UTC | |
by loris (Hermit) on Jun 30, 2005 at 12:37 UTC | |
|
Re: Perl templates for Emacs?
by tlm (Prior) on Jun 30, 2005 at 12:51 UTC | |
by loris (Hermit) on Jun 30, 2005 at 13:10 UTC | |
by Fletch (Bishop) on Jun 30, 2005 at 13:17 UTC | |
by tlm (Prior) on Jun 30, 2005 at 13:27 UTC | |
|
Re: Perl templates for Emacs?
by anonymized user 468275 (Curate) on Jun 30, 2005 at 12:32 UTC | |
by holli (Abbot) on Jun 30, 2005 at 12:37 UTC | |
by holli (Abbot) on Jun 30, 2005 at 12:53 UTC | |
by anonymized user 468275 (Curate) on Jun 30, 2005 at 13:07 UTC | |
by loris (Hermit) on Jun 30, 2005 at 12:42 UTC |