On Wed, 2005-03-16 at 02:18 -0600, Rod Adams wrote: > I just posted a fresh copy of S29 to: > > http://www.rodadams.net/Perl/S29.pod > http://www.rodadams.net/Perl/S29.html
Couple more points from the docs (mostly to the list, but some to you, Rod): multi sub grep (Any|Junction $test : [EMAIL PROTECTED]) returns List { multi sub join (Str $delimiter : [EMAIL PROTECTED]) returns List { multi sub map (Code $expression : [EMAIL PROTECTED]) returns List { multi sub reduce (Code $expression : [EMAIL PROTECTED]) returns List { ... I presume that everything is being declared as multi because we wish future subs to be able to insert special-cases for their own purposes. The question then comes up: is there a reason that you would declare a normal sub in library code... ever? Is plain "sub" no just a request for mildly unusual optimization? If so, why not make it "nomulti" instead? >From the list of TODO: Methods on numeric values (should be defined as pseudo-methods on unboxed numbers): chr hex oct index lc lcfirst length ord quotemeta rindex split study substr uc ucfirst unpack pack pos sprintf caller defined prototype ref die do eval exit sleep bless gmtime localtime time undef vec want caller