On Jan 16, Karthik Gurumurthy said: >($a,$b,$c) = (\"1",\"2",\"3"); > >%hash = ($a=>"hello",$b=>"Perl");
You cannot use references as the keys to a hash, because hash keys must be strings. If you're REALLY desperate, you can use Tie::RefHash, but I don't think you should be so desperate. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]