Differences between version 2 and predecessor to the previous major change of perlfaq7(1).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:50:45 pm | by perry | Revert |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:50:45 pm | by perry | Revert |
@@ -348,9 +348,9 @@
my $f =
The $f that has ``bar'' added to it three times should be a new $f (my $f should create a new local variable each time through the loop). It isn't, however. This was a bug, now fixed in the latest releases (tested against 5.004_05, 5.005_03, and 5.005_56).
-__How can I pass/return a {Function, FileHandle, Array,
+__How can I pass/return a {Function, !
FileHandle, Array,
Hash, Method, Regex}?__
With the exception of regexes, you need to pass references
@@ -455,9 +455,9 @@
$pattern_of_evil = 'danger ${ system(
eval
-Those preferring to be very, very clever might see the O'Reilly book, ''Mastering Regular Expressions'', by Jeffrey Friedl. Page 273's ''Build_MatchMany_Function()'' is particularly interesting. A complete citation of this book is given in perlfaq2.
+Those preferring to be very, very clever might see the O'Reilly book, ''Mastering Regular Expressions'', by Jeffrey Friedl. Page 273's ''Build_!
MatchMany_Function()'' is particularly interesting. A complete citation of this book is given in perlfaq2.
Passing Methods