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
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
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
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
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.
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
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