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

private bar foo sub name {}

Thread Next
Arthur Bergman
August 4, 2001 05:29
private bar foo sub name {}
Message ID:
Schwern wanted named subs to return a coderef, this was shot down by
compatibility police, why can't we make it so that if you do the following

perl -le 'sub bar(&) { print $_[0]} bar sub foo { print yeah}'

so if the sub that is proceding sub has that kind of prototype sub would
return the coderef

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