Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: MooseX obscure error and importance of Unit Testing

by Anonymous Monk
on Aug 16, 2012 at 07:15 UTC ( #987704=note: print w/ replies, xml ) Need Help??


in reply to Re^3: MooseX obscure error and importance of Unit Testing
in thread MooseX obscure error and importance of Unit Testing

Do you know a more reliable solution, other than constructing optrees by hand?

I don't need one, I manage to avoid writing subroutines that clash with classes, pretty much the same way most of CPAN and everyone else seems to, fairly easily :)

Although this might be a candidate :) subs::auto - Read barewords as subroutine names.

This pragma lexically enables the parsing of any bareword as a subroutine name, except those which corresponds to an entry in %INC (expected to be class names) or whose symbol table entry has an IO slot (expected to be filehandles).


Comment on Re^4: MooseX obscure error and importance of Unit Testing

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2015-06-02 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (70 votes), past polls