Thanks Curtis ...
-Original Message-
From: Curtis Poe [mailto:[EMAIL PROTECTED]]
Sent: July 05, 2001 15:27
To: CGI
Subject: RE: Opening HTML file from PERL
--- "Moon, John" <[EMAIL PROTECTED]> wrote:
> Don't know if this will help but I am doing something simila
quot;here" document inside of
the script like
so:
if (your_condition eq 'T'){
print <
Your Page
etc... other HTML here
EOF
} else {
do something else
}
you get the picture.
GL,
Mark Bergeron
--- "Moon, John" <[EMAIL PROTECTED]> wrote:
> Don't know if this will help but I am doing something similar
>
> ...
> use strict;
> no strict "refs";
>
> ...
> my %DISPLAY = (
> # *form value* => *sub name*
>10 => 'Personnel',
>20 => 'DataCom',
>80 =>
60 => 'MiscServ',
);
...
my $sub = $DISPLAY{*form value returned*};
&{$sub}(); # jump to sub to display requested report
...
-Original Message-
From: Srinivasan Kannan [mailto:[EMAIL PROTECTED]]
Sent: July 05, 2001 15:15
To: CGI
Subject: Opening HTML
here
EOF
} else {
do something else
}
you get the picture.
GL,
Mark Bergeron
-Original Message-
From: "Srinivasan Kannan"<[EMAIL PROTECTED]>
To: "CGI"<[EMAIL PROTECTED]>
Date: Thu Jul 05 12:14:47 PDT 2001
Subject: Opening HTML file f
Hai Everybody
Iam new user to PERL and Iam now doing a small project. In
my project, HTML form values such as username and password are validated
in a Perl file and depending upon the validation result, I'll be
dispalying a new HTML file.
My doubt is How to display a HTML file from a