WWW::Wikipedia::TemplateFiller::WebApp - Web interface to WWW::Wikipedia::TemplateFiller
Inside the index.cgi instance script:
#!/usr/bin/perl use WWW::Wikipedia::TemplateFiller::WebApp; my %config = ( template_path => '/path/to/web/templates', isbndb_access_key => 'access key here', ); WWW::Wikipedia::TemplateFiller::WebApp->new( PARAMS => \%config )->run
This module provides a CGI::Application interface to WWW::Wikipedia::TemplateFiller so that the work of http://diberri.dyndns.org/cgi-bin/templatefiller/ can be distributed across multiple servers.
Please see the included INSTALL file for detailed installation instructions.
Sets up the app for CGI::Application.
Method corresponding to the view run mode, which constructs both the input form and the results page.
view
Loads the specified HTML::Template template.
my $bool = $self->known_data_source( $id_name );
Returns true if $id_name refers to a valid data source. For example, returns true if $id_name is 'pubmed_id' but returns false if $id_name is 'something_else'.
$id_name
'pubmed_id'
'something_else'
Returns all data sources in an array reference.
Returns all relevant query params passed in this HTTP request.
Returns all known parameters and their labels.
Same as params but suitable output for CGI::checkbox calls.
params
Error-catching method called by CGI::Application if a run mode fails for any reason. Displays a basic form with a styled error message up top.
David J. Iberri, <diberri at cpan.org>
<diberri at cpan.org>
Please report any bugs or feature requests to bug-www-wikipedia-templatefiller at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Wikipedia-TemplateFiller. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-www-wikipedia-templatefiller at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WWW::Wikipedia::TemplateFiller
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-Wikipedia-TemplateFiller
CPAN Ratings
http://cpanratings.perl.org/d/WWW-Wikipedia-TemplateFiller
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Wikipedia-TemplateFiller
Search CPAN
http://search.cpan.org/dist/WWW-Wikipedia-TemplateFiller
Copyright (c) David J. Iberri, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::Wikipedia::TemplateFiller, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Wikipedia::TemplateFiller
CPAN shell
perl -MCPAN -e shell install WWW::Wikipedia::TemplateFiller
For more information on module installation, please visit the detailed CPAN module installation guide.