Re: Passing file name /filehandle as argument to a subroutine...

2004-03-27 Thread R. Joseph Newton
"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 PROTECT

Re: Passing file name /filehandle as argument to a subroutine...

2004-03-27 Thread R. Joseph Newton
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 functi

Re: Passing file name /filehandle as argument to a subroutine...

2004-03-25 Thread John W. Krahn
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 > f

RE: Passing file name /filehandle as argument to a subroutine...

2004-03-23 Thread Charles K. Clarkson
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