Perl Tutorials - Herong's Tutorial Examples - Version 5.40, by Dr. Herong Yang
User Defined Subroutines
This chapter provides tutorial examples and notes about user defined subroutines. Topics include parameters are passed as aliases of the original variables; parameters are received in local array variable @_; list value can be returned from a subroutine; a subroutine can be called in many ways.
Table of Contents