Anyone know what $::{varname} does ?

Edwardson, Tony Tony.Edwardson at commerzbank.com
Thu Oct 18 02:24:16 PDT 2007


I have just changed job and have inheritted a load of perl scripts and
modules which refer to variables with
$::varname all over the place

I guess that this is equivalent to $MAIN::varname but as none of these
scripts contain a package statement I'm not sure why this was done.

Can anyone enlighten me ?

Cheers
Tony


********************************************************************** 
This is a commercial communication from Commerzbank AG.

This communication is confidential and is intended only for the person to
whom it is addressed.  If you are not that person you are not permitted to
make use of the information and you are requested to notify
<mailto:LONIB.Postmaster at commerzbankib.com> immediately that you have
received it and then destroy the copy in your possession.

Commerzbank AG may monitor outgoing and incoming e-mails. By replying to
this e-mail you consent to such monitoring. This e-mail message and any
attached files have been scanned for the presence of computer viruses.
However, you are advised that you open attachments at your own risk.

This email was sent either by Commerzbank AG, London Branch, or by
Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG
is a limited liability company incorporated in the Federal Republic of
Germany. Registered Company Number in England BR001025. Our registered
address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are
regulated by the Financial Services Authority for the conduct of investment
business in the UK and we appear on the FSA register under number 124920. 

**********************************************************************



More information about the MiltonKeynes-pm mailing list