Try something like:-

$html .= start_html( -title      => "Rhubarb",
                    -style      => { 'src' => '../rhubarb.css' },
                    -script     => [ { 'src' => '../rhubarb.js' },
                                       $jscript ]
                  );

HTH, GStC.

----- Original Message ----- From: "Brent Clark" <[EMAIL PROTECTED]>
To: "Beginners Perl" <[email protected]>
Sent: Wednesday, June 22, 2005 10:00 AM
Subject: cgi link


Hi all

 keep getting this message below.

Undefined subroutine &main::Link called at C:/Program Files/Apache Group/Apache2/cgi-bin/ecco/scripts/common/getXmlAgents.pl line 24.

Here is my code

print $html->header(),

$html->start_html('Get REMOTE BOOKINGS',
-head=>Link({-rel=>'STYLESHEET', -href=>'/styles/ecco1.css'}),
-bgcolor=>'white' ),

$html->start_form(-method => "POST", -action => ""  ),

Im trying to get a line as such:
<LINK REL=STYLESHEET HREF="/styles/ecco1.css" TYPE="text/css">

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to