One stupid question

2002-07-30 Thread Brian Bratcher

Ok, I have developed a few cgi scripts. Some are located at: 
http://www.addapage.net/cgi-scripts/index.html
I have developed on an "as we learn" type of situation. Now I must ask;

what is the difference between:

my $number = 200;
and
$number = 200;
?

Im sorry to be stupid in this manner, but I see it all the time in other scripts. I 
don't undersand

Thanks in advance
Brian



RE: One stupid question

2002-07-30 Thread Christian Andreassen

Try: perldoc perlfaq7

-ca

-Original Message-
From: Brian Bratcher [mailto:[EMAIL PROTECTED]]
Sent: 30. juli 2002 20:27
To: [EMAIL PROTECTED]
Subject: One stupid question


Ok, I have developed a few cgi scripts. Some are located at:
http://www.addapage.net/cgi-scripts/index.html
I have developed on an "as we learn" type of situation. Now I must ask;

what is the difference between:

my $number = 200;
and
$number = 200;
?

Im sorry to be stupid in this manner, but I see it all the time in other
scripts. I don't undersand

Thanks in advance
Brian


**
This e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they 
are addressed. If you have received this e-mail in error please notify
the system manager at [EMAIL PROTECTED]
**


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: One stupid question

2002-07-30 Thread Felix Geerinckx

on Tue, 30 Jul 2002 18:27:18 GMT, [EMAIL PROTECTED] (Brian
Bratcher) wrote: 

> what is the difference between:
> 
> my $number = 200;
> and
> $number = 200;
> ?

You should read e.g. M-J Dominus' article 'Coping with Scoping' at



-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]