in reply to Re: CGI Parameters
in thread CGI Parameters

Ok... but that still doesn't explain why using import_params brings in GET variables only when there is nothing POST'd.

Replies are listed 'Best First'.
Re^3: CGI Parameters
by moritz (Cardinal) on May 19, 2009 at 17:55 UTC
    Maybe you could enlighten me as to what import_params is? I don't see it in the docs, so I guess it's not part of the official distribution.

    If it's something you wrote, maybe post it here?

        If you look into the source code, you'll see that import_names calls $self->param internally, so it'll install all those names that param() returns.

        I don't know if there's an equivalent that imports all the parameters that url_param returns, grepping through the source code didn't reveal any methods that uses url_param, so I guess your chances are rather slim.