LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-08-2014, 08:53 AM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
Perl Debug Stepping Answering Questions


I am new to perl and want to get a little better understanding of debugging code in perl. I have a perl script that has questions to be answered like:
Code:
he following PERL modules are recommended:
	Crypt::DES
	Crypt::PasswdMD5
	IO::Pty
	Net::Write::Layer2
	String::CRC32

Attempt to install the above modules? [yes]
So what I have been doing is using:
Code:
perl -w -d blah.pl
and simply stepping through each line in the code. I use bash and frequently use:
Code:
bash -x blah.sh
to watch the code execute line by line, answering any questions that come into my path. So naturally my question is how to do I do that with perl?

Last edited by metallica1973; 06-08-2014 at 09:01 AM.
 
Old 06-08-2014, 09:43 AM   #2
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
disregard question, I figured it out in that it was taking to long to get to the question in the script when I was stepping through each line because the script calls other pm and etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
answering some questions for a schoolproject? Mithandus Solaris / OpenSolaris 8 11-16-2007 06:51 AM
Help needed with answering a couple of questions hondo Linux - General 5 07-27-2006 02:10 PM
linux reported stepping VS intel stepping whysyn Linux - Hardware 2 05-27-2005 10:21 AM
We're answering nearly 90% of the Questions here! Thymox General 20 10-17-2002 11:49 AM
A note to my fellow forum members on answering questions. unSpawn Linux - Security 1 05-04-2002 12:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration