Professional Web Applications Themes

emacs and perl - PERL Beginners

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....

  1. #1

    Default emacs and perl

    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.

    Jon Guest

  2. #2

    Default Re: emacs and perl

    On Wed, 13 Oct 2004 22:24:11 -0500, Jon Mosco <net> wrote: 

    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.


    --
    Willy
    http://www.hackswell.com/corenth
    Willy Guest

  3. #3

    Default Re: emacs and perl

    > On Wed, 13 Oct 2004 22:24:11 -0500, Jon Mosco <net> 
    >
    > 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.
    >[/ref]

    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

    Steve Guest

Similar Threads

  1. emacs & 5.3
    By Jim Pazarena in forum FreeBSD
    Replies: 1
    Last Post: February 20th, 11:43 PM
  2. Emacs syntax highlight of Perl comments
    By Alythh in forum PERL Miscellaneous
    Replies: 9
    Last Post: October 17th, 06:50 PM
  3. Emacs debugger and perl fork
    By Kelly Corcam in forum PERL Miscellaneous
    Replies: 1
    Last Post: August 23rd, 01:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139