zergoid has asked for the wisdom of the Perl Monks concerning the following question:
Did you try it to see if/how it works?What do you mean "try it". Run perl in gdb?
Firstly, there have been a number of editions of "Programming Perl". I own the first three: that code doesn't appear on page 86 of any of those. Note: This is true for many Perl books. Providing more information than just the title is usually very useful and will generally get a faster (and better) answer.Sorry about that. That's the 4th edition.
The code you've posted is almost identical to that in "perldata: Typeglobs and Filehandles".That chunk of perldata is copied from the book verbatim (or is it the other way around). Alright, forget about it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Local Typeglob
by hdb (Monsignor) on Feb 21, 2014 at 07:47 UTC | |
by kcott (Archbishop) on Feb 21, 2014 at 09:45 UTC | |
|
Re: Local Typeglob
by kcott (Archbishop) on Feb 21, 2014 at 06:41 UTC | |
|
Re: Local Typeglob (try it)
by Anonymous Monk on Feb 21, 2014 at 06:41 UTC |