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

Re^2: Moose and exceptions

by glide (Pilgrim)
on Mar 20, 2008 at 11:54 UTC ( #675200=note: print w/ replies, xml ) Need Help??


in reply to Re: Moose and exceptions
in thread Moose and exceptions

It's nice to see the flexibility of the Moose. But, imho, that kind of change in the interface, will affect the maintainability of the code.

Probably the use of the Exception::Class will be a better approach.

many thanks


Comment on Re^2: Moose and exceptions
Re^3: Moose and exceptions
by stvn (Monsignor) on Mar 20, 2008 at 16:27 UTC
    It's nice to see the flexibility of the Moose.

    I can take no credit, we are simply riding on the shoulders of Sub::Exporter.

    But, imho, that kind of change in the interface, will affect the maintainability of the code.

    I completely agree, this is a case of "just cause you can do it, doesn't mean you should".

    -stvn

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-11-23 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls