CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
How to run perl program in interactive mode

 



naven8
Novice

Jul 6, 2012, 2:39 AM

Post #1 of 2 (1389 views)
How to run perl program in interactive mode Can't Post

Hi,

Can someone tell me whether i can run a perl program in interactive mode or not?

I need my program to stop at each and every function call.
Do i need to add anything to enable this kind of steup?
(script had some command line args)

When i tried running: perl -d <script name> it failed with
Cannot do `initialize' in Term::ReadLine::Gnu at /home/gnu/lib/perl5/5.6.1/perl5db.pl line 1767
Cannot do `initialize' in Term::ReadLine::Gnu at /home/gnu/lib/perl5/5.6.1/perl5db.pl line 1767
END failed--call queue aborted.

Thanks in advance.


(This post was edited by naven8 on Jul 6, 2012, 3:08 AM)


FishMonger
Veteran / Moderator

Jul 6, 2012, 6:10 AM

Post #2 of 2 (1380 views)
Re: [naven8] How to run perl program in interactive mode [In reply to] Can't Post

Take a look at this: http://www.shlomifish.org/lecture/Perl/Newbies/lecture2/debugger/breakpoints.html

And the more detailed perldoc. http://perldoc.perl.org/perldebug.html

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives