Re: newbie cgi problem

2001-10-18 Thread Brett W. McCoy
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

Re: newbie cgi problem

2001-10-18 Thread dan radom
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

RE: newbie cgi problem

2001-10-18 Thread Heely, Paul
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]

Re: newbie cgi problem

2001-10-18 Thread Richie Crews
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