Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > defining subroutines when using interpreter interactively?

Thread Tools

defining subroutines when using interpreter interactively?

Posts: n/a
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,


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Subroutines with CGI::Session::MySQL? L. D. James Perl Misc 22 08-21-2007 02:12 PM
Python embedded interpreter: how to initialize the interpreter ? Python 3 01-03-2007 01:00 AM
Using subroutines as hash dereferences. Bad idea? Derek Basch Perl Misc 5 05-10-2006 10:54 AM
What is the *preferred* way of defining text size - CCS using %... using "x-small" Shiperton Henethe HTML 117 12-22-2004 01:22 AM
defining or not defining destructors johny smith C++ 8 07-02-2004 08:51 AM