develooper Front page | perl.perl5.porters | Postings from January 2011

Re: [PATCH 1/3] get rid of huge swathes of repetitive code inPOSIX.pm

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
January 31, 2011 02:20
Subject:
Re: [PATCH 1/3] get rid of huge swathes of repetitive code inPOSIX.pm
Message ID:
20110131102017.GS5522@klangraum.plasmasturm.org
Hi Dagfinn,

* Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> [2011-01-31 10:45]:
> Aristotle Pagaltzis <pagaltzis@gmx.de> writes:
>
> > +    if (my $how = $replacement{$func}) {
> > +	croak "Unimplemented: POSIX::$func() is C-specific, stopped" if not defined $how;
> > +	croak "Unimplemented: POSIX::$func() $$_" if ref $how;
> > +	croak "Use method $_() instead of POSIX::$func()" if $how =~ /->/;
> > +	croak "Unimplemented: POSIX::$func() is C-specific, use $_ instead";
> > +    }
>
> s/\$_/\$how/g ?

woops, good catch. Thanks for the feedback. It’ll be fixed when
I send the patches to perlbug.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About