Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
[1nickt]: Ya gotta love the google. If you set accept=".txt" in a form input field where type="file", Chrome will allow you to select local files with extensions like .pl, .pm, .yaml, .ini etc. Nice!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-07-22 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (340 votes). Check out past polls.