[LA.pm] next time we need to give away a book...

Robert Spier rspier at pobox.com
Sun Mar 6 13:07:29 PST 2005


> http://search.cpan.org/~petdance/Acme-PM-Chicago-0.01/Chicago.pm
> >From the SYNOPSIS:
> "We here in Chicago.PM have the monthly problem of how to give away books. 
> Names from a hat? Bizarre statistical extraction from Lembark? Who can 
> tell? We decided once and for all to have ONE WAY to do it."

This boils down to:

sub random_name {
    my @names = @_;

    return $names[rand @names];
}


which is really less interesting than what we have now.

Perl won't run on my Treo, but I think I can still get Python there,
and then implement the equivalent... but really.. I think our games
are more fun :)

-R


More information about the Losangeles-pm mailing list