Re: Totally lost - need a starting point
- From: "Paul Lalli" <mritty@xxxxxxxxx>
- Date: 30 Aug 2006 05:26:53 -0700
Helen wrote:
#! /usr/bin/perl
use strict;
use warnings;
print "Content-type: text/exp\n\n;
$rxvt;
What is this? First, use strict will complain that you didn't declare
it. Then use warnings will complain that you're uselessly using a
scalar variable in void context.
parse_form_data (select_advanced);
Here, you have an undeclared subroutien being called, followed by an
unquoted bareword. Both are errors.
$NAME = $select_advanced {'NAME'};
Here, you're using two undeclared variables, $NAME and
%select_advanced.
$NAME;
Another use of the undeclared variable, this time uselessly used in
void context.
else die;
Now you have an else without an if, and without braces. Neither is
allowed.
None of your code makes any sense. If you want real help, post real
code.
Paul Lalli
.
- References:
- Totally lost - need a starting point
- From: Helen
- Totally lost - need a starting point
- Prev by Date: RE: replace multiple tokens
- Next by Date: Re: Time::Local let me faint
- Previous by thread: Re: Totally lost - need a starting point
- Next by thread: RE: Totally lost - need a starting point
- Index(es):
Relevant Pages
|