Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and trying to calling it from a perl script :<html> <head> <title>Title of page</title> </head> <body> This is my first homepage. <b>This text is bold</b> </body> </html>
when I run the html code from the browswer , it works fine, however , when I run the perl scripts , nothing happens ,, all I get is the following on the command line and the browser wouldn't open :#!/usr/bin/perl -w use strict; use CGI qw( :standard ); print redirect( "./cgiSample.html" ) unless ( "name" ); print hr(), end_html();
Can someone advice please ?$ perl cgiSample.pl <hr /> </body> </html>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI example
by meraxes (Friar) on Nov 26, 2007 at 17:55 UTC | |
|
Re: CGI example
by bradcathey (Prior) on Nov 26, 2007 at 20:14 UTC | |
|
Re: CGI example
by locked_user sundialsvc4 (Abbot) on Nov 26, 2007 at 20:24 UTC |