On 3/16/07, James Masters <[EMAIL PROTECTED]> wrote:
> "Creation date $thing{createdate}, postcode: $thing{address}{postcode}".
>
> Yes, I know - I'm an amateur. But it will be a massive job converting all
> this hash methodology to a PERL OO "method" methodology particularly as Rose
> method calls don't interpolate.
Well, there's always:
"Creation date @{[ $thing->createdate ]}, ..."
> Just wondering if there might already exist some way to easily convert the
> hierarchical hash to and from a Rose DB Object that corresponds to the
> hierarchical data in the Rose DB Object (that corresponds to the
> hieararchical data in the database itself)?
No, no existing way, but writing one would be a good exercise for someone :)
> Perhaps a hash already exists within the internals of Rose that can be
> exploited if I knew how?
Not really (the keys are often oddly named), and even if there were,
it would be a naughty thing to do.
-John
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object