Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Interesting testing idea ...

by autarch (Hermit)
on Jan 21, 2009 at 21:52 UTC ( #737971=note: print w/ replies, xml ) Need Help??


in reply to Interesting testing idea ...

I think to do this you'd either need a source filter (gah!) or Devel::Declare.

As for whether it's a good idea. I don't know. I'm not a big fan of subroutine attributes, and your attribute seems redundant anyway. I think I'd prefer something more like this:

sub foo { ... } is tested(2) { ... }

That looks fairly 6-ish.


Comment on Re: Interesting testing idea ...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (15)
As of 2015-07-31 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (281 votes), past polls