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
In reply to Re: What does this mean?
by ferrency
in thread What does this mean?
by zdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |