It's a very big program,I am trying my best not to confuse you guys by asking short questions. I have a "Datascript.exe",am running that script and saving it in "$Datafile" variable,after saving $Datafile has 100's of lines but now I want to parse each line using a while loop(any loop for that matter) and am running into the errors mentioned.What is the best way I can parse eachline in $Datafile?Please suggest
$Datafile =`Datascript -p=$perl_file`; open $file, '<', $Datafile or die "could not open '$file' $!"; while ( my $match = <$file> ) { }
In reply to Re^2: Error opening a file
by iphone
in thread Error opening a file
by iphone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |