- or download this
say "hello, world";
- or download this
sub addprint ($n,$m) { say $n+$m } # ?
- or download this
sub addprint {my $sum = 0; $sum += $_ for @_; print $sum, "\n"}
- or download this
sub addprint (*@num) { say [+] @num };
- or download this
sub addprint {say [+] @_}
- or download this
my %loops = (while => 'handles', for => 'lists');
- or download this
for =$fh { ... }
for @array { ... }