advanced code snippet search
archlight on 01/04/09
perl keywords
01/04/09 08:09pm
scalar @wattage returns size of array exists $dimA[0] returns value of first element of dimA exists defined $dimA[0] returns bool whether dimA[0] is defined switch statement can be used when use Switch;switch($key){ case '' { } }foreach $line (<INFILE>) {}foreach $value (@array) {}
Report this snippet Tweet
given/when work without Switch.pm
Comment:
You need to login to post a comment.
given/when work without Switch.pm