in reply to
whats wrong with my sub-routine ??
Start by saying
use strict; use warnings;
[download]
and your typos (using a global variable where you meant to use a parameter) will be pointed out to you.
—John
Comment on
Re: whats wrong with my sub-routine ??
Download
Code
In Section
Seekers of Perl Wisdom