On Aug 15, Fred. Oger said:
>$a=5;
>%zzz = { v => \$a};
WARNING! WARNING! At least, that's what you would have heard if you had
turned warnings on in your program. You've used curly braces {...} here,
which creates a hash reference. You don't want a hash reference. You
wanted to use parentheses (...).
%zzz = ( v => \$a );
And your problems are solved.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
<stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
[ I'm looking for programming work. If you like my work, let me know. ]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]