| Catalyst-Model-TextLinkAds documentation | Contained in the Catalyst-Model-TextLinkAds distribution. |
Catalyst::Helper::Model::TextLinkAds - Helper for TextLinkAds Catalyst Models
script/myapp_create.pl model ModelName TextLinkAds [ tmpdir=/path/to/tmp ] [ nocache ]
Use this module to set up a new Catalyst::Model::TextLinkAds model for your Catalyst application.
ModelName is the short name for the Model class being generated (eg.
"TextLinkAds")
tmpdir is the path to a directory where temporary files should be stored.
nocache disables caching which is definitely not recommended.
This method takes the given arguments and generates a Catalyst::Model::TextLinkAds model for your application.
Catalyst, Catalyst::Helper, Catalyst::Model::TextLinkAds
Please report any bugs or feature requests to
bug-catalyst-model-textlinkads at rt.cpan.org, or through the web interface
at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Model-TextLinkAds.
You can find documentation for this module with the perldoc command.
perldoc Catalyst::Helper::Model::TextLinkAds
You may also look for information at:
http://perlprogrammer.co.uk/module/Catalyst::Model::TextLinkAds/
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Model-TextLinkAds
Dave Cardwell <dcardwell@cpan.org>
Copyright (c) 2007 Dave Cardwell. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
| Catalyst-Model-TextLinkAds documentation | Contained in the Catalyst-Model-TextLinkAds distribution. |
package Catalyst::Helper::Model::TextLinkAds; use strict; use warnings; use Carp qw( croak ); our $VERSION = '0.01';
sub mk_compclass { my ( $self, $helper, @options ) = @_; # Extract the arguments... foreach (@options) { if ( /^tmpdir=(.+)$/ ) { $helper->{tmpdir} = $1; } elsif ( /^nocache$/ ) { $helper->{cache} = 0; } } $helper->{config_encountered} = ( exists $helper->{tmpdir} ); $helper->render_file( 'tlaclass', $helper->{file} ); }
1; __DATA__
1;