[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Glue::WebSTAR_301



At 14.17 -0400 1998.10.09, Josh Gemmell wrote:
>Results in Macperl error:
># Not enough parameters
>File 'Dev:Pseudo'; Line 41

OK, when I switched to named parameters, my remaining error checking code
was no good any longer, but remain in.

Delete lines 73-77:

    my @tot = grep {$params->{$_}[2] == 1} keys %$params;
    my @req = keys %$params;

    croak "Not enough parameters" if @args < @tot;
    croak "Too many parameters" if @args > @req;

I might have a new alpha early next week, BTW.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch