emacs and perl

2004-10-14 Thread Jon Mosco
I was wondering if anyone had some advice or pointers
for perl and emacs.  I want to be able to run my 
programs in a window similar to the way you can 
with 'compile' mode with c.  If anyone has some
tips or pointers, please let me know.

Jon M.

P.S.  I already know about eshell and the like.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: emacs and perl

2004-10-15 Thread Jon Mosco
I know how to do the like, I have been an emacs user for some
time now.  Cperl mode is much better than regular perl mode. 
I was looking for a way to run my code in emacs, not write
or edit code, thats someting I can do already.  I know I can 
run a shell in another buffer, under my code and that works ok,
but it would be nice to run my code to see how it functions
while im writing.  Thats what im trying to figure out here.

Thanks,
Jon


On Thu, Oct 14, 2004 at 11:01:40AM -0400, Steve Bertrand wrote:
> > On Wed, 13 Oct 2004 22:24:11 -0500, Jon Mosco <[EMAIL PROTECTED]>
> > wrote:
> >> I was wondering if anyone had some advice or pointers
> >> for perl and emacs.  I want to be able to run my
> >> programs in a window similar to the way you can
> >> with 'compile' mode with c.  If anyone has some
> >> tips or pointers, please let me know.
> >>
> >> Jon M.
> >>
> >> P.S.  I already know about eshell and the like.
> >
> > an interesting idea- but there is one minor detail... is it that
> > necessary?
> > i usually run with two terminals - one for editing and one for typing
> > './foo.pl'.  Now, there might be an advantage to what you want- maybe
> > a GUI like stepping function.  Now /that/ would be neat :)I'd love
> > to learn how to do that with vi.
> >
> > on occasion i'd run with the perl debugger to step through the code,
> > but i can't for the life of me remember how to do that now... anyway,
> > i like the idea of seeing the script as a whole while testing it.
> >
> 
> I've got a setup with a dual-head video card, and two monitors and
> then my laptop. Normally, one monitor is always situated with my
> webmail client for email, and my notebook is SSH'd into the devel box
> for running the program.
> 
> However, I still find it a pain to switch keyboards, or switching
> shells all the time, so I have recently begun tredging through the
> emacs tutorial, because I too want to run my code in a second window
> within the same application.
> 
> The tutorial for emacs is great to get started, then there are
> extensive docs online for advanced usage. If you open a Perl script
> with emacs:
> 
> # emacs myscript.pl
> 
> ..then emacs automagically loads itself in Perl mode.
> 
> Steve
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>