Re: i need a second set of eyes

2007-09-02 Thread John W. Krahn
unclescrooge wrote: hi, Hello, if anyone has the time or the patience, could someone please tell me what's wrong with this script? it's simple..it's supposed to open a file and print the contents (i'm learning slowly but surely)...anyhow...i keep getting 500 errors and the server log says th

Re: i need a second set of eyes

2007-09-01 Thread Rob Dixon
unclescrooge wrote: On Sep 1, 8:29 am, [EMAIL PROTECTED] (Dr.Ruud) wrote: unclescrooge schreef: #!/usr/bin/perl Missing: use strict; use warnings; use CGI::Carp qw(fatalsToBrowser); require "subparseform.lib"; What is that? &Parse_Form; Don't put a & in front of a sub-call, unles

Re: i need a second set of eyes

2007-09-01 Thread unclescrooge
On Sep 1, 8:29 am, [EMAIL PROTECTED] (Dr.Ruud) wrote: > unclescrooge schreef: > > > #!/usr/bin/perl > > Missing: > > use strict; > use warnings; > > > use CGI::Carp qw(fatalsToBrowser); > > > require "subparseform.lib"; > > What is that? > > > &Parse_Form; > > Don't put a & in front of a sub-ca

Re: i need a second set of eyes

2007-09-01 Thread unclescrooge
On Sep 1, 8:29 am, [EMAIL PROTECTED] (Dr.Ruud) wrote: > unclescrooge schreef: > > > #!/usr/bin/perl > > Missing: > > use strict; > use warnings; > > > use CGI::Carp qw(fatalsToBrowser); > > > require "subparseform.lib"; > > What is that? > > > &Parse_Form; > > Don't put a & in front of a sub-ca

Re: i need a second set of eyes

2007-09-01 Thread Dr.Ruud
unclescrooge schreef: > #!/usr/bin/perl Missing: use strict; use warnings; > use CGI::Carp qw(fatalsToBrowser); > > require "subparseform.lib"; What is that? > &Parse_Form; Don't put a & in front of a sub-call, unless you know why. If you meant Parse_Form(@_), then write it like that.

Re: i need a second set of eyes

2007-09-01 Thread kenpeng
There's maybe something wrong with the lib and its routines you imported. Try adding 'use strict' and 'use warnings' at the begin of script and run it to see what's happened. - original Nachricht ---- Betreff: i need a second set of eyes Gesendet: Sa

i need a second set of eyes

2007-09-01 Thread unclescrooge
hi, if anyone has the time or the patience, could someone please tell me what's wrong with this script? it's simple..it's supposed to open a file and print the contents (i'm learning slowly but surely)...anyhow...i keep getting 500 errors and the server log says that there's a premature end to th