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
A. Sinan Unur  
View profile
 More options May 17, 7:34 am
Newsgroups: comp.lang.perl.misc
From: "A. Sinan Unur" <1...@llenroc.ude.invalid>
Date: Sat, 17 May 2008 11:34:32 GMT
Local: Sat, May 17 2008 7:34 am
Subject: Re: write 10 files
Ben Morrow <b...@morrow.me.uk> wrote in
news:8q80g5-hf4.ln1@osiris.mauzo.dyndns.org:

> Quoth "A. Sinan Unur" <1...@llenroc.ude.invalid>:
>> "Ela" <e...@yantai.org> wrote in
>> news:g0jl3m$cj$1@ijustice.itsc.cuhk.edu.hk:

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

...
>> This looks like a very poor attempt at using symbolic file handles
>> (if such a thing even exsits, I don't know).

> 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... :) )

>> When you find yourself wanting to index something using an integer,
>> you should use an array.

Thank you. I should have checked that myself. I am hoping that the OP
dropped the use of "OFP$k" in favor of $OFP[$k].

Sinan

--
A. Sinan Unur <1...@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/


    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