in reply to Re: Grab input from the user and Open the filein thread Grab input from the user and Open the file
my ($theFile); until (-f $theFile) { print "Please enter the file name:"; chomp($theFile = <STDIN>); } [download]