Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] filehandles in perl
- To: tlug@example.com
- Subject: Re: [tlug] filehandles in perl
- From: Hector Akamine <hector_aka@example.com>
- Date: Thu, 7 Mar 2002 04:43:27 -0800 (PST)
- Content-type: text/plain; charset=us-ascii
- In-reply-to: <20020307105656.GA17348@example.com>
Thanks Simon and Jake for the help. --- Simon Cozens <simon@example.com> wrote: > Hector Akamine: > > I tried the following in perl > > open (OUTF($i), ">$file[$i]"); # WRONG !!! > > Now you're just making up syntax. :) mental lapsus, sorry :-) > > open $handles[$i], ">$file[$i]" or die $!; > I had already found out how to make it (the way Simon suggests). But I had a problem trying to do the same with printf, I couldn't make it work with printf $handles[$i] "$_"; # throws error I had to make $temp = $handles[$i]; printf $temp "$_"; # same but different (?) Anyway, it works. __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/
- References:
- Re: [tlug] filehandles in perl
- From: Simon Cozens
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Kmail Notification
- Next by Date: Re: [tlug] RH7.2
- Previous by thread: Re: [tlug] filehandles in perl
- Next by thread: [tlug] Re: partition sizes
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links