4-1 函數 此外,Perl 的函數也可以支援遞迴呼叫(Recursive Calls),換句話說,一個函數可以呼叫 ... 在上述程式碼中,$X 在函數呼叫前被定義為20,然後我們在函數中印出此 ...
perlsub - perldoc.perl.org The Perl model for function call and return values is simple: all functions are passed as parameters one single flat list of scalars, and all functions likewise return ...
Perl tutorial: Subroutines Like any good programming langauge Perl allows the user to define their own ... &mysubroutine; # Call the subroutine &mysubroutine($_); # Call it with a ...