On Tuesday, April 30, 2002, at 03:07 , Jackson, Harry wrote:
[..]
> $TRY = "world";
>
> $h = 0;
> $TRY{$h}=3;
> print "$TRY" . "$h" . " $TRY{$h}\n";
of course in 'use strict' it will whine that it does not want
to allow you
my $TRY{$h} = 3;
and would prefer that you pre-declare
my %TRY;
at which point we are dancing danger close to the
name space game - and prudence argues that our
intrepid adventurer go back to:
http://perl.plover.com/FAQs/Namespaces.html
and start coping with scoping....
as well as
did we mention 'use strict' and '-w' ????
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]