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:

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:

perl -w -d blah.pl

and simply stepping through each line in the code. I use bash and frequently use:

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?

---------- Post updated at 10:43 AM ---------- Previous update was at 09:54 AM ----------

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.

---------- Post updated at 10:43 AM ---------- Previous update was at 10:43 AM ----------

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.