Google Groups Home
Help | Sign in
Message from discussion write 10 files
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Ela  
View profile
 More options May 16, 9:37 am
Newsgroups: comp.lang.perl.misc
From: "Ela" <e...@yantai.org>
Date: Fri, 16 May 2008 21:37:20 +0800
Local: Fri, May 16 2008 9:37 am
Subject: Re: write 10 files

> Yes, it does. A filehandle is just an unquoted string, so

>    open "OFP$k", ">$outfile";

> 'works', FSVO.

> (I'm leaving this bit in just in case anyone gets the wrong idea from
> this post... :) )

Does "works" mean it does not generate error but still cannot achieve the
effect of printing into different files? Because I'm able to open empty
file1, file2, ..., file10 but nothing is printed into them.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google