![]() |
Perlaccess : Tutorials : Subroutines Feeding Subroutines (5.2) by Jacob A. Wheeler http://www.bigresources.com |
|
Now I am going to show you some more advanced ways of working with subroutines. Below are a few examples on passing variables through subroutine calls. These really come in handy when creating error handling routines.
The following will do the same thing:
Here is an example of where it would come in handy for passing error messages.
|