Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: prototypes: so many \@'s?

by Anno (Deacon)
on Apr 03, 2007 at 13:52 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://608066]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-16 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found