Dave Thomas wrote:

> > I want to be able to manipulate this data structure like f.i.:
> >
> > currentpage.articles[2].elements[5].content = 'Hello world'
> >
> > I am not sure if or how I can realise this, could somebody please give
> > me a hint?
>
> You could use the wonderful new PerlValue package (available on the
> RAA)

Thank you for your help, but do I really need a module to do something simple
as this?

As the module name suggests, it kind of emulates Perl for this feature.
Isn't there an obvious Ruby kind of way to do this?

Regards,

    Erik.




>     require 'perlvalue'
>
>     currentpage = PerlValue.new
>
>     currentpage.articles[2].elements[5].content = 'Hello world'
>
>     p currentpage.articles[2].elements[5].content
>
> Regards
>
> Dave