Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > closing several files at once

Reply
Thread Tools

closing several files at once

 
 
pelonbiologo@gmail.com
Guest
Posts: n/a
 
      11-25-2005
Hey

Is there a way to close several file handles within the same
line....???

for example would something like the following exist?

close (FILEHANDLE1, FILEHANDLE2,...,FILEHANDLEn);

Cheers!

 
Reply With Quote
 
 
 
 
xhoster@gmail.com
Guest
Posts: n/a
 
      11-25-2005
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> Hey
>
> Is there a way to close several file handles within the same
> line....???


undef @array_of_filehandles;

Or better yet:

}; # end of scope holding array of filehandles.

Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding several records at once JJ ASP .Net 9 05-07-2007 09:07 PM
RDOC: several related modules in several C files Victor \Zverok\ Shepelev Ruby 3 03-16-2007 04:15 PM
Iterating over several lists at once Gal Diskin Python 17 12-27-2006 07:45 PM
How to include several xsl files from a same directory at once? Julien Phalip XML 0 02-17-2005 10:53 PM
How can we oepn several websites at once with one mouse click? fitwell Computer Support 8 02-03-2005 03:09 PM



Advertisments