in reply to Re: Grab input from the user and Open the file
in thread Grab input from the user and Open the file
my ($theFile); until (-f $theFile) { print "Please enter the file name:"; chomp($theFile = <STDIN>); }
|
---|
In Section
Seekers of Perl Wisdom