Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 browsing the Monastery: (4)
As of 2014-09-20 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (157 votes), past polls