How long is my array?
my @hw_array = ("hello","world","wassup?");
print "<br>size: ", scalar @hw_array; # 3
print "<br>size: " . @hw_array; # 3, scalar is implicit
print "<br>index of last: ", $#hw_array; # 2
Web sites and corporate diplomacy, presentations and meetings, and the joys of living near -- but not too near -- the bleeding edge. And of course the never-ending conversation about the tradeoffs between scope, schedule, and resources.
No comments:
Post a Comment