Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^8: Miscellaneous.pm?

by xdg (Monsignor)
on Mar 06, 2006 at 17:12 UTC ( [id://534714]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Miscellaneous.pm?
in thread Miscellaneous.pm?

It's blatantly wrong...

I've been following this thread with curiousity for a bit -- but now I think it's become raw opinion over considered debate.

Here's what I want to know:

  • Why is it blatant?

  • Why is it wrong?

Considering that perlsub explicitly discusses using prototypes to mimic builtins, I don't buy blatant. I do know how prototypes can often lead people to unexpected behavior, but sub(&@) seems like one of the safest prototypes to use -- and that's most (though not all) of what's in List::MoreUtils.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found