Hi,

I have a sample code

########################################################

#!/usr/bin/perl -w

%states = ( "California","Sacramento", "Wisconsin","Madison", "New York",
"Albany");

print "Capital of California is " . $states{"California"} . "\n\n";

########################################################

I did not understand the statement $states{"California"} in the above print
statement of the code

I know the the dot is a concatenation operator and \n is a newline character

Thanks in Advance.

Thanks and Regards

Kaushal

Reply via email to