Download Time
- 56K
- 0s
- 64K
- 0s
- 128K
- 0s
- 768K
- 0s
- 1.44M
- 0s
Advertising
HTML::ScriptLoader 1.01
HTML::ScriptLoader
Version: 1.01
Perl extension for loading scripts on a web page
Overall Average:
User Rating:
Visitors Rating:
Download: 100% Safe & Secure
OS Support Linux, Linux Console, Linux Open Sour, Linux Gnome
Publisher's description
Change Log- Share Button
HTML::ScriptLoader is a Perl module that handles script loading with dependency support.
The available scripts can be setup in a configuration file and added on runtime. When a script is needed, you call on "add_script", and the script and all its dependencies will be loaded, in order of dependency.
Recursive dependencies are not allowed and will throw an exception.
SYNOPSIS
use HTML::ScriptLoader;
my $scripts = HTML::ScriptLoader->new(
{
'other-script' => {
'uri' => 'http://example.com/other-script.js'
},
'myscript' => {
'uri' => '/static/js/myscript.js',
'deps' => ['other-script'],
'params' => {
'apikey' => 'very-secret',
},
},
}
);
$scripts->add_script('myscript');
$ttvars->{'javascripts'} = $scripts->scripts;
# In your templates (TT)
[% FOREACH js IN javascripts %]
[% END %]
< !-- ... -- >
< /head >
Product's homepage
Requirements:
· Perl
TAGS: | script loading | Perl module | Perl | script | loading | SHARE THIS |
HTML code for linking to this page:
Go to top
Related Tags: script loading Perl module Perl script loading
Available Translations:
None
Version 1.01 added on: 19 Feb 2012
To link back to this page, please copy code below and insert in your page. All visits come thru this code will add a 10 point vote to this software. Save the image button on your server
Example:
HTML,BBCode code for linking to this page:
LINK
HTML
BBCODE
BBCODE with Image button


