Windows, Linux, Mac OS X, Java and Ruby Tips and Tricks
$scalar = 1 ; #String, integers, floatsprint $scalar ;@array = ("apple", "pair");print $array[0];print $array[1];%hash = ();$hash{"apple"} = 100;$hash{"pair"} = 200;print "Cost is $hash{"apple"} \n";
No comments:
Post a Comment