> So, I'm trying to 'open ($1,">>$file")', where $1 is a string 
> like "cbQosCMPrePolicyPktOverflow".
> 
> 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...

Have you tried using eval, like:

eval "open ($1 ">>$file");select $1";

One caveat: you might end up using a lot of eval statements, which will
probably slow down your code.

Hope that helps,

 -dave



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to