in reply to Typeglobs and Symbol tables

Fourth question: Is there a cleaner way to write the "no strict..." block in Foo.pm?
I don't really see the point of your module. Have you seen this section of the CGI documentation?
FETCHING THE PARAMETER LIST AS A HASH: $params = $q->Vars; print $params->{'address'}; @foo = split("\0",$params->{'foo'}); %params = $q->Vars; use CGI ':cgi-lib'; $params = Vars;

Replies are listed 'Best First'.
(Ovid) Re(2): Typeglobs and Symbol tables
by Ovid (Cardinal) on Jun 01, 2001 at 03:25 UTC

    princepawn wrote:

    I don't really see the point of your module.

    Good point. However, as I mentioned, this is a simplified test case and therefore is taken drastically out of context. This is actually some work I'm doing on this module, the POD of which can be read here.

    Essentially, the programmer often has the problem of trying to debug CGI programs that require cookies, secure connections, or any of a variety of circumstances that make debugging from the command line problematic. With the module I've been working on, they can dump all sorts of useful data to a separate browser window (variable values, traces of function calls, caller information, etc). I am aware of the Vars function, but that didn't suit my needs in this case.

    Cheers,
    Ovid

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.