Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Answer: How can I create an array of filehandles?

by perlmonkey (Hermit)
on Apr 25, 2000 at 08:09 UTC ( #8882=categorized answer: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(FILE, "myfile.txt")
    $file = *FILE
    
  2. or download this
    print $file "Hello File";
    close $file;
    
  3. or download this
    #!/usr/bin/perl
    
    my @filehandles;
    ...
        close $file;
        $count++;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2019-12-12 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?