develooper Front page | perl.beginners | Postings from April 2002

Filehandles named with a variable

Thread Next
Mr Hash
April 2, 2002 13:49
Filehandles named with a variable
Message ID:
So, I'm trying to 'open ($1,">>$file")', where $1 is a string like

Obviously, with use strict this does not work. How can I make it work? I
need arbitrarily named filehandles. I know, it could get rended with
gobbleworts if the data gets out of hand...

TIA for any help.

Mr Hash

I invented the cordless extension cord
						-- Stephen Wright

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About