in reply to
I am a beginner for perl
You have a logic problem. The
next
prevents you from evaluating the
until
, which in turn prevents you from reaching the
print
.
Print intermediate values of $i and $j to see this for yourself:
Basic debugging checklist
Use code tags:
Writeup Formatting Tips
How do I compose an effective node title?
What are you really trying to do?
Comment on
Re: I am a beginner for perl
Select
or
Download
Code
In Section
Seekers of Perl Wisdom