Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Re: To Validate Data In Lvalue Subs

by Zaxo (Archbishop)
on Sep 03, 2003 at 05:47 UTC ( #288517=note: print w/replies, xml ) Need Help??

in reply to Re: To Validate Data In Lvalue Subs
in thread To Validate Data In Lvalue Subs

Thanks for the link, I had a look at Attribute::Property and it does indeed, deep down, also use a tied interface to validate data. The public interface is quite different, A::P being polished up to use attribute notation.

My preferred direction for this is different. I like to keep the nuts and bolts within reach. I'd extend Constrained to a family of tied classes with different data structures and exception policies. Some sort of class factory to produce blessed coderefs with cloistered data from the body of the constructor seems likely.

After Compline,

  • Comment on Re: Re: To Validate Data In Lvalue Subs

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-08-13 02:25 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (69 votes). Check out past polls.