IWL::Script - A script object.
IWL::Object -> IWL::Script
The script object provides the <script type="text/javascipt"> html markup, with all it's attributes.
IWL::Script->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values corresponding to the attributes that a regular <script> markup would have.
Sets a "src='SOURCE'" attribute to <script>.
Parameter: SOURCE - a URL to a javascript file
Appends the strings as a child of the script object
Parameter: STRING - the js string
Prepends the strings as a child of the script object
Adds the strings as a child of the script object
Returns the script string from the object
Copyright (c) 2006-2007 Viktor Kojouharov. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install IWL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IWL
CPAN shell
perl -MCPAN -e shell install IWL
For more information on module installation, please visit the detailed CPAN module installation guide.