Thank you very much - it has been driving me nuts for a while. I did not realize I had not used the braces, and my monitor has such a high res that they look the same.
-----Original Message----- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 10:34 AM To: Anderson, Carlin Cc: '[EMAIL PROTECTED]' Subject: Re: variable retrieve error On Nov 21, Anderson, Carlin said: >"Not a CODE reference at >/opt/yantra/ecommerce/webpages/cgi-bin/yahoo_orderQA.pl line 123. > >line 123 = eval { print OUT "H",$info->('Gift-Wrap');}; You are using parentheses (...) instead of braces {...}. A hash reference is accessed via $hash_ref->{key} and a CODE reference is accessed via $code_ref->(@args) -- 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 ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]