Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Ben Tilly to CREDITS.

  • Loading branch information...
commit 71690be638b99c9183d047ee898485b0fad5d5d1 1 parent 3d8f1e8
@chromatic authored
Showing with 14 additions and 13 deletions.
  1. +3 −0  CREDITS
  2. +3 −3 sections/chapter_00.pod
  3. +8 −10 sections/prototypes.pod
View
3  CREDITS
@@ -203,3 +203,6 @@ E: lorne.schachter@citi.com
N: Dave Rolsky
E: autarch@urth.org
+
+N: Ben Tilly
+E: btilly@gmail.com
View
6 sections/chapter_00.pod
@@ -149,8 +149,8 @@ McCaughan, John McNamara, Shawn M Moore, Alex Muntada, Carl M
Niswander, Nelo Onyiah, Chas. Owens, ww from PerlMonks, Jess Robinson, Dave
Rolsky, Gabrielle Roth, Andrew Savige, Lorne Schachter, Dan Scott, Alexander
Scott-Johns, Phillip Smith, Christopher E. Stith, Mark A. Stratman, Bryan
-Summersett, Audrey Tang, Scott Thomson, Sam Vilain, Larry Wall, Colin
-Wetherbee, Frank Wiegand, Doug Wilson, Sawyer X, David Yingling, Marko Zagozen,
-harleypig, hbm, and sunnavy.
+Summersett, Audrey Tang, Scott Thomson, Ben Tilly, Sam Vilain, Larry Wall,
+Colin Wetherbee, Frank Wiegand, Doug Wilson, Sawyer X, David Yingling, Marko
+Zagozen, harleypig, hbm, and sunnavy.
Any errors are the fault of the author's own stubbornness.
View
18 sections/prototypes.pod
@@ -244,15 +244,13 @@ You can use this API without the prototype. It's slightly less attractive:
=end programlisting
-A sparing use of function prototypes to remove the need for the C<sub> builtin
-is reasonable. Few other uses of prototypes are compelling enough to overcome
-their drawbacks.
-
-=begin sidebar
+X<builtins; C<sort>>
-Ben Tilly suggests a fourth: when defining a custom function to use with
-C<sort>. Declare this function with a prototype of C<($$)> and Perl will pass
-its arguments in C<@_> rather than the package globals C<$a> and C<$b>. This
-is a rare case, but it can save you time debugging.
+A sparing use of function prototypes to remove the need for the C<sub> builtin
+is reasonable. Another is when defining a custom function to use with
+C<sort>N<Ben Tilly suggested this example.>. Declare this function with a
+prototype of C<($$)> and Perl will pass its arguments in C<@_> rather than the
+package globals C<$a> and C<$b>. This is a rare case, but it can save you time
+debugging.
-=end sidebar
+Few other uses of prototypes are compelling enough to overcome their drawbacks.
Please sign in to comment.
Something went wrong with that request. Please try again.