Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
4
Task/Call-a-function/Perl/call-a-function-1.pl
Normal file
4
Task/Call-a-function/Perl/call-a-function-1.pl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
foo(); # Call foo on the null list
|
||||
&foo(); # Ditto
|
||||
foo($arg1, $arg2); # Call foo on $arg1 and $arg2
|
||||
&foo($arg1, $arg2); # Ditto; ignores prototypes
|
||||
1
Task/Call-a-function/Perl/call-a-function-2.pl
Normal file
1
Task/Call-a-function/Perl/call-a-function-2.pl
Normal file
|
|
@ -0,0 +1 @@
|
|||
foo;
|
||||
1
Task/Call-a-function/Perl/call-a-function-3.pl
Normal file
1
Task/Call-a-function/Perl/call-a-function-3.pl
Normal file
|
|
@ -0,0 +1 @@
|
|||
&foo;
|
||||
1
Task/Call-a-function/Perl/call-a-function-4.pl
Normal file
1
Task/Call-a-function/Perl/call-a-function-4.pl
Normal file
|
|
@ -0,0 +1 @@
|
|||
goto &foo;
|
||||
3
Task/Call-a-function/Perl/call-a-function-5.pl
Normal file
3
Task/Call-a-function/Perl/call-a-function-5.pl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
&$fooref('foo', 'bar');
|
||||
&{$fooref}('foo', 'bar');
|
||||
$fooref->('foo', 'bar');
|
||||
Loading…
Add table
Add a link
Reference in a new issue