executing code without exiting the interpreter

Discussion in 'Perl Misc' started by Mirco Wahab, Apr 1, 2007.

  1. Mirco Wahab

    Mirco Wahab Guest

    nikolas pontikos wrote:
    > When I launch the interpreter (i.e. just running "perl" at the command
    > line) I'd like to be able to execute what I've written so far without
    > quitting the interpreter (i.e. without doing a ctrl+D).
    >
    > I've looked at the available flags but haven't found a way of doing this.


    its:
    perl -de 1

    You can also read
    http://www.perl.com/doc/FAQs/FAQ/oldfaq-html/Q3.7.html

    Regards

    Mirco
    Mirco Wahab, Apr 1, 2007
    #1
    1. Advertising

  2. When I launch the interpreter (i.e. just running "perl" at the command
    line) I'd like to be able to execute what I've written so far without
    quitting the interpreter (i.e. without doing a ctrl+D).

    I've looked at the available flags but haven't found a way of doing this.
    nikolas pontikos, Apr 1, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MS
    Replies:
    4
    Views:
    14,643
  2. Abby
    Replies:
    1
    Views:
    493
    Jack Klein
    Aug 29, 2003
  3. Replies:
    5
    Views:
    420
    Steven Bethard
    Mar 3, 2006
  4. Alan Isaac

    stop script w/o exiting interpreter

    Alan Isaac, Jan 25, 2007, in forum: Python
    Replies:
    6
    Views:
    373
    Gabriel Genellina
    Jan 28, 2007
  5. knguyen
    Replies:
    9
    Views:
    2,824
    Roedy Green
    Feb 15, 2008
Loading...

Share This Page