XP is just a number | |
PerlMonks |
Re^2: The beauty of MMDby eric256 (Parson) |
on Jul 28, 2005 at 19:25 UTC ( [id://479104]=note: print w/replies, xml ) | Need Help?? |
Jumping into a fray that isn't mine: I think that the point is MMD is usefull and would be nice to have. I'm not sure what your argument agianst that was except that you didn't like his argument. So here is a plain as day example using Perl6 MMD and i'd like to see your example of the same code that is at least as simple.
The return value of the second call is always debatable, but not realy the point here. This is obviously a very simple example, but the point is, anytime your action varies depending on the types of paramters, MMD is a nice trick to have available. BTW Perl6 allows MMD and allows you to still have your old fashion perl5 send me everything in @_ subs too, so you can have your cake and eat it too (whatever that means ;) ) ___________ Eric Hodges
In Section
Meditations
|
|