On Thu, 18 Oct 2001, dan radom wrote:
> I'm trying to print the contents of a file which is being passed from
> a html form. I'm pretty close (I think). Here's what I have...
>
> #!/usr/local/bin/perl -w
You should also have 'use strict' here.
> use CGI qw(:all);
> $s=CGI::param('host');
> $s
thanks too all who replied. i knew i was close. i can't believe i missed the extra "
on line 7. duh. thanks everyone!
dan
* dan radom ([EMAIL PROTECTED]) wrote:
> I'm trying to print the contents of a file which is being passed from a html form.
>I'm pretty close (I think). Here's what I
Hi,
> open(CONF, "/opt/disk4/REDBACK-BACKUP/$s") or die("configuration file not
found")";
^
Try getting rid of the extra " on line 7.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
try this..
foreach (@t) { print "$_"; };
On Thu, 2001-10-18 at 10:54, dan radom wrote:
> I'm trying to print the contents of a file which is being passed from a html form.
>I'm pretty close (I think). Here's what I have...
>
> html form...
>
>
> Enter the hostname to view the configuraqtio