Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Function-definition/Perl/function-definition-1.pl
Normal file
1
Task/Function-definition/Perl/function-definition-1.pl
Normal file
|
|
@ -0,0 +1 @@
|
|||
sub multiply { return $_[0] * $_[1] }
|
||||
1
Task/Function-definition/Perl/function-definition-2.pl
Normal file
1
Task/Function-definition/Perl/function-definition-2.pl
Normal file
|
|
@ -0,0 +1 @@
|
|||
sub multiply { $_[0] * $_[1] }
|
||||
5
Task/Function-definition/Perl/function-definition-3.pl
Normal file
5
Task/Function-definition/Perl/function-definition-3.pl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
sub multiply( $$ )
|
||||
{
|
||||
my ($a, $b) = @_;
|
||||
return $a * $b;
|
||||
}
|
||||
4
Task/Function-definition/Perl/function-definition-4.pl
Normal file
4
Task/Function-definition/Perl/function-definition-4.pl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
use experimental 'signatures';
|
||||
sub multiply ($x, $y) {
|
||||
return $x * $y;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue