- or download this
Variable Scopes:
my only "local" not assigned outside the "loop" e.g.
...
while (){
$var1 = 0
}
- or download this
perldoc perlintro
perldoc perltoc
perldoc perlfaq[1-x]
quote delimiter(s), \, $, and @,
- or download this
#!/usr/bin/perl
...
foreach $elem (@words){
print "$elem\n";
}
- or download this
#!/usr/bin/perl -w
#We use warnings
...
if ($mod == 1){ printf "$i is odd, modulus is $mod \n";
}
}
- or download this
#!/usr/bin/perl
...
[id://563314]