in reply to What does this mean?

That should be
$q->param('lang')
Probably.

The syntax you used makes Perl think that $q is a subroutine reference that you're trying to invoke with an argument of lang. $q is not a subroutine (CODE) reference. Hence the error.

Replies are listed 'Best First'.
(zdog) RE: (2) What does this mean?
by zdog (Priest) on Jul 18, 2000 at 22:05 UTC
    Heh! It is funny how obvious the mistake is, but you still can't put your finger on it, thanks. Where would I be without Perl Monks?

    Zenon Zabinski | zdog | zdog7@hotmail.com