urvashi mishra wrote:
hi;
i am trying to take input from multiple files
Various I/P files are specified at command line...
What is an I/P file? Do you mean an input file?
Can anyone tell me how to pass the file name to a
routine that opens it for parsing
the same function is
R. Joseph Newton wrote:
Better not to use the newline at the end. You get more information if you just:
open(MIBFH,$file) or die Error opening the $file$!;
Should be:
open(MIBFH,$file) or die Error opening the $file: $!;
Sorry,
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Urvashi Mishra wrote:
hi;
Hello,
i am trying to take input from multiple files
Various I/P files are specified at command line...
Can anyone tell me how to pass the file name to a
routine that opens it for parsing
the same function is to be called for all the I/P
files...
hi;
i am trying to take input from multiple files
Various I/P files are specified at command line...
Can anyone tell me how to pass the file name to a
routine that opens it for parsing
the same function is to be called for all the I/P
files...
Code is:
foreach my $file (@ARGV)
{
urvashi mishra [EMAIL PROTECTED] wrote:
:
: i am trying to take input from multiple files
: Various I/P files are specified at command line...
:
: Can anyone tell me how to pass the file name to a
: routine that opens it for parsing
:
: the same function is to be called for all the