Next | Tricks of the Wizards | 59 |
CGI.pm provides a ->param() method for getting the submitted web form data
For compatibility with older packages, it will also set up an %in hash
%in is tied to call ->param() behind the scenes
sub FETCH { return $_[0] if $_[1] eq 'CGI'; return undef unless defined $_[0]->param($_[1]); return join("\0",$_[0]->param($_[1])); }
Other methods similarly
Next | Copyright © 2003 M. J. Dominus |