SPUG: Re: prototypes (was: Directory Fun)

Andrew Sweger andrew at sweger.net
Fri Mar 18 01:03:33 PST 2005


On Thu, 17 Mar 2005, John W. Krahn wrote:

> Ick, a prototype!  Prototypes aren't very useful:
> 
> http://library.n0i.net/programming/perl/articles/fm_prototypes/

Commands::Guarded (and several other equally brilliant modules) wouldn't
be what they are without those prototypes. Granted, it's a twisted use of
prototypes. But it can produce elegant and useful semantics when done
properly. (Mmmm, can't wait for Perl 6.)

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.



More information about the spug-list mailing list