>-----Original Message-----
>From: drieux [mailto:[EMAIL PROTECTED]]
>
>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
>
Is the following more suitable or is it bollocks as well.
#!perl
#
#
use strict;
use warnings;
my $TRY = "world";
my $h = 0;
my %TRY;
$TRY{$h}=3;
print "$TRY" . "$h" . " $TRY{$h}\n";
exit 0;
H
*************************************************************************************
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ
Tel. +44 20 7390 3900
This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or
affiliates ("COLT") and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message. Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.
*************************************************************************************
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]