: text/html; charset=ISO-8859-1
>
> What's up
> This is the top half of my HTML page.This is error message
> number
> 1.
> This is the top half of my HTML page.This is error message
> number
> 2.
>
>
>
>
>
> -Original Message-
> From: david G
:
: < DO STUFF>
Comments in perl begin with #, not <
Perl probably thinks you're referring to a
file handle in angle brackets.
Sorry, this is me using my own shorthand, everything is correctly #'d
in the code.
: sub error {
:
:
:
: if ($_[0]=1) {
'=' is an assignment operator. You
david Greenhalgh <[EMAIL PROTECTED]> asked:
:
: Been banging my head on this, I'm obviously missing
: something obvious, but I can't see what. Would someone
: put me out of my misery?
:
: My code checks the value of a variable $status.
: $status can have three values, 0,1,2. 0 is good, 1
: and 2
ML page.This is error message number
2.
-Original Message-
From: david Greenhalgh [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 12:40 PM
To: [EMAIL PROTECTED]
Subject: Subroutine Syntax
Hi all,
Been banging my head on this, I'm obviously missing something obvious,
but I can
Hi all,
Been banging my head on this, I'm obviously missing something obvious,
but I can't see what. Would someone put me out of my misery?
My code checks the value of a variable $status. $status can have three
values, 0,1,2. 0 is good, 1 and 2 are errors. So;
use strict;
if ($status) {