Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Method Chaining and Accessors

by exussum0 (Vicar)
on Apr 05, 2007 at 22:23 UTC ( #608558=note: print w/replies, xml ) Need Help??

in reply to Method Chaining and Accessors

The bad thing about method chaining is debugging a line that's in a chain. You can step INTO a line, but if you don't know which part of the chain is busted before hand, you have a lot of chaining in and out. If one does something like...
$x->y(); $x->z(); $x->moo();
You're more likely to get an easier to diagnose report should something go odd. Also, it won't matter if y(), z() or moo() returned anything at all. It's a minor quibble that becomes defensive programming.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://608558]
[MidLifeXis]: Has anyone been successful running prove under Windows with a --jobs parameter? It appears, even with (what appears to be) appropriately- configured parameters and up to date Test::Harness/TAP ::Harness that tests are still running serially.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2016-12-06 17:00 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (112 votes). Check out past polls.