in reply to how to set two script sources with cgi.pm start_html
To do this correctly you need to do something pass
an arrayref for the -script argument
like this:
print $query->start_html(-script=>[ {-src=>'../assests/bwcheck.js'}, {-src=>'../assests/scroller.js'}, ]);
This is well documented in the CGI.pm documentation for start_html.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: how to set two script sources with cgi.pm start_html
by pitbull3000 (Beadle) on Sep 01, 2001 at 03:56 UTC | |
by chromatic (Archbishop) on Sep 01, 2001 at 05:08 UTC |
In Section
Seekers of Perl Wisdom