Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,5 @@
sub print_all {
foreach (@_) {
print "$_\n";
}
}

View file

@ -0,0 +1,3 @@
print_all(4, 3, 5, 6, 4, 3);
print_all(4, 3, 5);
print_all("Rosetta", "Code", "Is", "Awesome!");

View file

@ -0,0 +1,2 @@
@args = ("Rosetta", "Code", "Is", "Awesome!");
print_all(@args);

View file

@ -0,0 +1,2 @@
use 5.020;
use experimental 'signatures';

View file

@ -0,0 +1,3 @@
sub print ($x, $y) {
say $x, "\n", $y;
}

View file

@ -0,0 +1,6 @@
sub print_many ($first, $second, @rest) {
say "First: $first\n"
."Second: $second\n"
."And the rest: "
. join("\n", @rest);
}