Return to Snippet

Revision: 10567
at January 4, 2009 20:09 by archlight


Initial Code
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) {}

Initial URL


Initial Description


Initial Title
some perl keywords

Initial Tags
perl

Initial Language
Perl