home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Perl CookbookPerl CookbookSearch this book

10.16. Nesting Subroutines

10.16.2. Solution

Instead of making the inner functions normal subroutines, make them closures and temporarily assign their references to the typeglob of the right name to create a localized function.



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.