> what's the difference between: 
> 
> $::MY_VARIABLE

Global variable - stored in main's symbol table.

> and 
> 
> my $MY_VARIABLE

Lexically scoped variable - not available outside the scope.

> .... if they're both declared in main()?! 

You need to know the difference between local and my.  :)
It's in the FAQ someplace...

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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

Reply via email to