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

Re^6: regex transforms of object attributes

by herveus (Prior)
on Jun 21, 2004 at 22:21 UTC ( [id://368568]=note: print w/replies, xml ) Need Help??


in reply to Re^5: regex transforms of object attributes
in thread regex transforms of object attributes

Howdy!

...when it gets reimplemented as a value stored in a database somewhere, or stored remotely, such that you access it via SOAP or HTTP or carrier pigeon...or as a value in a hash or array somewhere. But you don't have a need to know...

A procedural interface, whether a get and set pair, or a polymorphic accesser/mutator, provides a way to obtain and change the value while keeping your actions decoupled from the specific storage mechanism.

yours,
Michael
  • Comment on Re^6: regex transforms of object attributes

Replies are listed 'Best First'.
Re^7: regex transforms of object attributes
by Roy Johnson (Monsignor) on Jun 21, 2004 at 22:40 UTC
    It doesn't matter how it's stored. If the interface is set-a-scalar, get-a-scalar, you can do it with a tied scalar. See my meditation on the subject.

    We're not really tightening our belts, it just feels that way because we're getting fatter.

Log In?
Username:
Password:

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

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

    No recent polls found