Hi

i am not able to declare hases

first i tried this

*************************************
use strict
my %familyname;
$familyname{"mark"}="antony";
****************************************
and i get an error "Global symbol "%familyname" requires explicit
package name"

next i tried
**************************************
use strict
my %hash = ("a" => 1, "b" => 2, "c" => 3);
****************************************
for this i get "Unknown 'strict' tag(s) 'a 1 b 2 c 3'"

i am not able to get hash working please help me out

Thanks in advance


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to