defining subroutines when using interpreter interactively?

Discussion in 'Perl' started by MackS, Mar 11, 2005.

  1. MackS

    MackS Guest

    Hi folks,

    Following FAQ 3.1, I am now interacting with the compiler interactively
    (in debug mode) by calling

    $ perl -de 1

    However, I am not able to define a new subroutine for some repeated use
    while debugging. Is there any way to define a subroutine in interactive
    mode? (Other than "use"ing it, that is.)

    Thanks in advance,

    Mack
     
    MackS, Mar 11, 2005
    #1
    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. johny smith
    Replies:
    8
    Views:
    426
    Peter Koch Larsen
    Jul 2, 2004
  2. Replies:
    3
    Views:
    775
    Ziga Seilnacht
    Jan 3, 2007
  3. terminus
    Replies:
    0
    Views:
    421
    terminus
    Feb 26, 2008
  4. Guillermo Riojas
    Replies:
    0
    Views:
    185
    Guillermo Riojas
    Nov 26, 2010
  5. Replies:
    4
    Views:
    211
    praveen kandala
    Oct 27, 2007
Loading...

Share This Page