Don't ask to ask, just ask | |
PerlMonks |
Re: Emacs: Submit a Perl Scriptby jplindstrom (Monsignor) |
on Dec 18, 2007 at 01:01 UTC ( [id://657580]=note: print w/replies, xml ) | Need Help?? |
Good answers with cperl-mode, compile and friends.
Another option is to use Devel::PerlySense's Run File command. It's similar in that it uses Emacs' compilation mode. It is different in that it's aware of things other than that particular source file, like from where you likely want to run the file, where used modules live, etc. It is currently more limited in some ways, e.g it doesn't take any command line parameters which I can imagine may be useful if you actually want to run .pl scripts rather than, let's say, plain .t files. But that's mostly because I haven't had the need yet (it is on the todo list however). (As an aside, if you're still using UltraEdit now and then, maybe you'll find -- shameless plug of very old program -- Perl Oasis useful.) /J
In Section
Seekers of Perl Wisdom
|
|