You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
sub add_two ($$) {
|
|
return $_[0]+$_[1];
|
|
}
|
|
|
|
print prototype(\&add_two),"\n"; # produces '$$'
|
|
print prototype('add_two'),"\n"; # likewise
|