develooper Front page | perl.perl5.porters | Postings from July 2001

RE: [PATCH op.c] \? prototype

Thread Previous | Thread Next
Richard Soderberg
July 31, 2001 23:40
RE: [PATCH op.c] \? prototype
Message ID:
> From: Jeff 'japhy/Marillion' Pinyan []
> Subject: [PATCH op.c] \? prototype
> On Jul 29, Arthur Bergman said:

> >A \($|@|%) prototype or something like that taking a
> reference to anything
> >would be a very very very welcome addition.

> How about a \? prototype, which automatically takes a
> reference?  Then the
> user can decide, inside the function, what to accept?  Patch
> below sig.

+1 to this idea - I like the idea of being able to force any generic
argument into the subroutine as a reference.  That feels right, somehow.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About