Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 cooling their heels in the Monastery: (5)
As of 2014-12-27 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls