Anonymous user
Function prototype: Difference between revisions
m
→{{header|Perl}}
(Demonstrate packages) |
|||
Line 189:
=={{header|Perl}}==
The perl scripting language allows prototypes to be checked during JIT compilation. Prototypes should be placed before subroutine definitions, declarations, or anonymous subroutines. The sigil [
<lang perl>sub noargs(); # Declare a function with no arguments
|