Re: [PBML] basic questoin
- On Oct 27, nt557 said:
> What this code do ?There's still no $tag. ;) When a variable name has a "::" in it,
> $tag::entry = 0;
> there was NO $tag before inthis code, this is the first usage.
everything before the LAST "::" is the variable's package -- the namespace
it resides in. $CGI::POST_MAX is the $POST_MAX variable in the CGI
namespace, and $Data::Dumper::Indent is the $Indent variable in the
> what does this mean ?That's a special case of the package::variable syntax; it means $group in
> $::group = 2;
the main namespace. It's the same as $main::group.
for more details.
Jeff "japhy" Pinyan % How can we ever be the sold short or
RPI Acacia Brother #734 % the cheated, we who for every service
http://www.perlmonks.org/ % have long ago been overpaid?
http://princeton.pm.org/ % -- Meister Eckhart