Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: prototypes: so many \@'s?

by Anno (Deacon)
on Apr 03, 2007 at 13:52 UTC ( #608066=note: print w/replies, xml ) Need Help??


in reply to prototypes: so many \@'s?

There is no such hack I know of. What I've seen on CPAN (in List::MoreUtils, for instance) is attempts to allow "enough" arguments:
sub each_array (\@;\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@) {
That seems to be the dissatisfactory state of the art in this respect.

Anno

Replies are listed 'Best First'.
Re^2: prototypes: so many \@'s?
by dk (Chaplain) on Apr 03, 2007 at 21:53 UTC
    Indeed. I also found the "enough" syntax, but it looked so wrong that I didn't even dare to ask about it. Thanks++ for the answer anyway.
      I happen to know the author of List::MoreUtils Usenet-wise and I know he'd search far and wide before letting this uglines stand in a module. If there was a better solution, Tassilo would have found it.

      Anno

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://608066]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2019-12-08 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?