Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: What is this can() and why is breaking it (un)acceptable?

by jonadab (Parson)
on Apr 08, 2004 at 11:01 UTC ( #343574=note: print w/replies, xml ) Need Help??

in reply to Re: Re: What is this can() and why is breaking it (un)acceptable?
in thread Why breaking can() is acceptable

your Camel book is out of date, but thankfully, is not.

If I start using online docs, I'm going to end up wanting to keep every system up to date with the latest perl all the time. I was hoping to avoid that until Perl6 comes out. At present I use systems that have everything ranging from 5.005 through 5.6.1 to 5.8.1, and this has never proven to be a problem, not even when using a lot of modules off of the CPAN. I wouldn't want to start relying on all the latest features; that would be bad design for sure, and not only in terms of OO purity.

In retrospect, my other post seems to have come across as a little harsh. For that I'm sorry. But I disagree that it's bad design to break something that's a fairly new feature anyway, within the same major version (Perl5).

;$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print
  • Comment on Re: What is this can() and why is breaking it (un)acceptable?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-10-22 06:36 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.