in reply to HTML::Mason - Getting CGI Parameters

It does have its own built-in method, I think. From skimming the tutorials at PerlMonth, it looks like you just declare the argument in an %args section, then just use the variables as $user and $knowledge. The variables are created as my variables lexical to the component.

So:

<%args> $user $knowledge </%args> User: <% $user %> Knowledge: <% knowledge %>
Have you looked at the tutorials? They might be helpful:

Part 1
Part 2

Replies are listed 'Best First'.
RE: Re: HTML::Mason - Getting CGI Parameters
by Anonymous Monk on Apr 05, 2000 at 02:29 UTC
    Thanks! This was perfect. Additionally, you need to preset the values of these args in case they are not supplied: <%args> $user => 'nighthawk' $knowledge => -1 </%args> The PerlMonth tutorials are very helpful. -- Nighthawk