Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Tao Perl Ching - The Scripture of the Way of Perl

by Juerd (Abbot)
on Dec 18, 2004 at 21:02 UTC ( [id://415909]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Tao Perl Ching - The Scripture of the Way of Perl
in thread Tao Perl Ching - The Scripture of the Way of Perl

I agree that CGI.pm is generally not the best CGI module. But its main advantage is that comes pre-installed on the system because it is a core module.

I prefer to call that "standard module" and call modules that enable core functionality "core modules", like strict, warnings and File::Glob.

Anyway, it's not hard to deal with both, as interfaces are compatible:

# Fall back to CGI.pm if CGI::Simple is unavailable. # We prefer CGI::Simple because it much lighter and faster. my $cgi = eval { require CGI::Simple; CGI::Simple->new } || do { require CGI; CGI ->new };
I do think avoiding CPAN modules is a bad idea.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://415909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found