defining subroutines when using interpreter interactively?

M

MackS

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top