The qq function does interpolation so ${ is seen as dereferencing something that isn't defined.
You didn't mention the other warning "Subroutine menu redefined at call_b.pl line 9." I don't know anything about CGI or URI so not sure if that is an issue. But it looks like calling uri_escape is returning undef.
Something else I noticed is that my $go_menu = &menu; will not assign anything to $go_menu since menu doesn't return anything.
In reply to Re: SCALAR ref error help!
by Gulliver
in thread SCALAR ref error help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |