develooper Front page | perl.perl5.porters | Postings from April 2000

increase efficiency of & proto'd subroutines

Thread Next
Jeff Pinyan
April 13, 2000 06:55
increase efficiency of & proto'd subroutines
Message ID:
Is it possible to allow the & prototype (if the first argument to a
function, to accept a Perl expression (as do map and grep)?  I have
absolutely no idea how difficult this would be to implement, but if we
could have prototyped subroutines that use expressions, then would the
efficiency of executing the expression vs. the code reference be there
like it is for map and grep?

MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve           
PerlMonth - An Online Perl Magazine  
The Perl Archive - Articles, Forums, etc.

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