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]