On Jul 3, mark crowe (JIC) said:
> open FILEHANDLE "file1" + "file2";
> while () {do stuff}
This is specifically what @ARGV and <> are good for. ;)
>Test code that duplicates the problem:
> @ARGV = qw(test1 test2);
> for $i(0..9) {$array[$i] = <>}
> print @array;
handling behaviour of ARGV with a conventionally
'open'ed filehandle - can it be done please?
Thanks
Mark C
> -Original Message-
> From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]]
> Sent: 02 July 2001 16:53
> To: mark crowe (JIC)
> Cc: [EMAIL PROTE
On Jul 2, mark crowe (JIC) said:
>Please can anyone tell me if there is a way to open multiple files to a
>single filehandle, or somehow carry out something equivalent. I can do it by
>putting the filenames into @ARGV and then doing a while (<>) {loop}, but I'd
>like to use a specific filehandle