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

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,
Zaxo

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2019-11-15 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (82 votes). Check out past polls.

    Notices?