in reply to
Help with getting the ouput from the script
perlintro
/
perlfaq
covers a lot of this, on prompting/chomping/asking user for input, and validating that input, see
Re: MySQL Table adding with Perl
and
Re: DBD::mysql trouble
Comment on
Re: Help with getting the ouput form the script
In Section
Seekers of Perl Wisdom