in reply to What does this mean?
This looks like you're dereferencing $q and calling it as a subroutine call. What does $q contain? If it's a hash reference, then to get the 'lang' key out, you should do this instead:Not a CODE reference at ... line 53, <DATA> line 1. if ($q->('lang') eq '' || $q->('lang') eq $bookinfo[1]) {
Note the curly braces, instead of parentheses.$q->{'lang'}
Alan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: What does this mean?
by ferrency (Deacon) on Jul 18, 2000 at 22:14 UTC |