help with file handles 
Author Message
 help with file handles

I am having a problem with the following bit of perl code.  It open
all of the file handles specified in the arrays, except the first one.
I am boggled.  This is perl-4.010.

--------------
#!/usr/local/bin/perl


    open("halls-".$counter, ">>halls-$counter") || die "$!\n";

Quote:
}


    open("halls-".$counter, ">>halls-$counter") || die "$!\n";
Quote:
}


    open("halls-".$counter, ">>halls-$counter") || die "$!\n";
Quote:
}


    open("halls-".$counter, ">>halls-$counter") || die "$!\n";

Quote:
}

------------------

If anybody has an idea, please send a reply.

Thanks,
Lance
--
==============================================================================
| Lance Speelmon                      |  University Computing Services       |

==============================================================================



Sat, 02 Apr 1994 03:30:49 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Help needed: File handling and pattern matching

2. Handling Help Files

3. Strange file handling - please help

4. File Handling Help [\]

5. The DATA file handle -- help

6. Handling file in perl.....please help

7. Handling file in perl.....please help

8. HELP accessing hash of file handles: FileHandle module

9. Help please..bad file handle error

10. help -> Handling Files under Windozes (Deleting)

11. Help with Globbing and File Handling

12. Help with hashes and file handles please...

 

 
Powered by phpBB® Forum Software