GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Toader::Templates::Defaults(3) User Contributed Perl Documentation Toader::Templates::Defaults(3)

Toader::Templates::Defaults - This provides the default templates for Toader.

Version 0.3.0

    use Toader::Templates::Defaults;

    #initiates the object
    my $foo = Toader::Templates::Defaults->new;
    
    #fetches the css template
    my $template=$foo->getPage('css');
    if ( $foo->error ){
        warn('Error:'.$foo->error.': '.$foo->errorString);
    }

This initiates the object.

This method does not error.

    my $foo=Toader::Template::Defaults->new;

This checks if the specified template exists as a default template.

One argument is required and that is the template name to check for. This method will only throw a error if it is left undefined.

The return value is a Perl boolean value.

    my $exists=$foo->exists($template);

This returns a default template.

One argument is required and it is the template name.

There is no need to do error checking, if one is certian the template exists.

    my $template=$foo->getTemplate( $name );
    if ( $foo->error ){
        warn( 'Error:'.$foo->error.': '.$foo->errorString );
    }

This returns a list of default templates.

No arguments are taken.

    my @defTemplates=$foo->listTemplates;

No template name specified.

No such template.

Zane C. Bowers-Hadley, "<vvelox at vvelox.net>"

Please report any bugs or feature requests to "bug-toader at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Toader>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

    perldoc Toader::Templates::Defaults

You can also look for information at:

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Toader>

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/Toader>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/Toader>

  • Search CPAN

    <http://search.cpan.org/dist/Toader/>

Copyright 2013 Zane C. Bowers-Hadley.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

2016-01-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.