You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/perl -w
|
|
|
|
$hash{"Name"} = "G ";
|
|
|
|
$hash{23} = 365;
|
|
$hash{123.45} = "Hello world";
|
|
|
|
$key = 123.45;
|
|
|
|
print "Element 123.45: $hash{$key}\n";
|
|
|
|
$key = "Name";
|
|
|
|
print "Element Name: $hash{$key}\n";
|