From:                   "Dermot Paikkos" <[EMAIL PROTECTED]>
> I want to use a scalar value as part of the name of an array. I have
> tried: push(@failed_$value,$data); but I get an error back "Scalar
> found where operator expected at ../makecd.pl line 168, at end of line
> (Missing operator before ?)"

Yes there is ... but I'm not going to tell you.

Please read 
"Why it's stupid to `use a variable as a variable name' " by M-J. Dominus
http://www.plover.com/~mjd/perl/varvarname.html

Your thing looks safer that using the value of a variable as the complete 
name of other variable, but it's not much better.

Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me

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

Reply via email to