stuck at TRUE/FALSE, pls help

2004-08-14 Thread babulGogoi
Hi I am very very new to perl. And after lots of work I did script a perl file to handle a online form (products order form). However, I am stuck at a point. I tried my best but could not get thru. The form is located at: http://www.kevincoffey.com/order.htm When I select a different shipping

Re: stuck at TRUE/FALSE, pls help

2004-08-14 Thread Bryan Harris
I'm pretty new to CGI programming too, so I probably can't answer your original question, but I would suggest that the first line of your script be: #!/usr/bin/perl -wT The -w turns on warnings if your script does one of a list of things that are screwy, like assigning a variable and never

re: How to display a Text file using web browser under CGI

2004-08-14 Thread lfurlan
Hello! An example would look like this: #!/usr/bin/perl -w use strict; use CGI qw(:standard); my $file_loc = bla; my @file; if (open(FILE, $file_loc)) { @file = FILE; print header; print start_html(); print pre@file/pre; close (FILE); print end_html(); } else { print header;

Re: Here is the URL for Beginning Perl

2004-08-14 Thread hcohen2
I am sorry if this appears too often, but I have not seen several messages that I sent to the list distributed or appearing on the maillist archive. Moreover, I am getting a lot of failed mailings. At first these seemed to be bogus, since I did get replies. However, my last message despite

Re: How to display a Text file using web browser under CGI

2004-08-14 Thread Bryan Harris
Or how about this? use File::Copy; print html\npre\n; copy myfile.txt, \*STDOUT; print /pre\n/html\n; - B Hello! An example would look like this: #!/usr/bin/perl -w use strict; use CGI qw(:standard); my $file_loc = bla; my @file; if (open(FILE, $file_loc)) { @file = FILE;

The connection was refused when attempting to connect 127.0.0.1.

2004-08-14 Thread hcohen2
This is the exact message when I try using the defaulted server address. Any ideas why. Proved the server is running and listening when contacted via the Linux command prompt. See earlier emails under RE: Here is the URL for Beginning Perl Trying this: http://127.0.0.1:8080/ I came into a

Re: The connection was refused when attempting to connect 127.0.0.1.

2004-08-14 Thread Chris Devers
On Sat, 14 Aug 2004, hcohen2 wrote: This is the exact message when I try using the defaulted server address. Any ideas why? Sorry, I'm confused -- you just pasted the contents of your server's start page. Where was the connection failure coming into the scene? However, I really was expected to