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 ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 17:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found