baffled by while conditional

2001-06-01 Thread mikemckee
Greetings, This unenlightened neophyte finds that this problem is beyond his humble understanding and seeks guidance from those more wise in the mysterious ways of Perl. The following short program was offered for this one's edification but proves beyond his grasp. #1/usr/bin/perl -w #exercis

test for real number

2001-05-30 Thread mikemckee
Hi, I'm new to the group and new to Perl and am very glad to have such a resource available. Hopefully someday I'll be on the giving end of the help list but for now I'm stumped. How do I test an input to see if it is a real number? I have a situation something like: $input = ; chom