Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 chilling in the Monastery: (15)
As of 2014-09-22 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (191 votes), past polls