CGI::Alternatives - Documentation for alternative solutions to CGI.pm
0.03
This module doesn't do anything, it exists solely to document alternatives to the CGI module. This documentation is a work in progress, an example script will be shown in raw CGI.pm and then the equivalent implementation for each alternative will be shown. Resources to further information and documentation will also be included.
CGI.pm hasn't been considered good practice for many years, and there have been alternatives available for web development in perl for a long time. Despite this there are still some perl developers that will recommend the use of CGI.pm for web development and prototyping. The two main arguments for the use of CGI.pm, often given by those developers, are no longer true:
1) "CGI.pm is a core module so you don't have install anything extra." This is now incorrect:
http://perl5.git.perl.org/perl.git/commitdiff/e9fa5a80
If you are doing any serious web development you are going to have to use external dependencies, DBI is not in the core for example.
2) "CGI.pm scripts are shorter and simpler than alternative implementations." Again, not true and the following examples will show that.
Lee Johnson - leejo@cpan.org
leejo@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CGI::Alternatives, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Alternatives
CPAN shell
perl -MCPAN -e shell install CGI::Alternatives
For more information on module installation, please visit the detailed CPAN module installation guide.