in reply to E4X4Perl ?
As for syntax, you'd have to use $order->item and $order->ALL->price or something like that to make is legal Perl. Or, you could do what stvn has been doing in his P6 Object Metamodels, which would translate into E4X for Perl like:
my $e4x_parser = E4X->new( ... ); my @items = $e4x->get( 'order.item' ); my @prices = $e4x->get( 'order..price'; );
You get the idea.
|
|---|