perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Richter <rich...@ecos.de>
Subject Re: chaining Links ?
Date Sun, 03 Aug 2003 19:04:13 GMT
Am Freitag, 1. August 2003 02:53 schrieb Joshua Spoerri:
> Is it possible to chain Linked tables?
>
> I would like to do $A{-B}{-C}{someFieldOnC} but the link from table B to
> table C is not automatically detectable.
>

There are some limitation in the implementation of Perl  tied hashes, so you 
have to write

$b = $A{-B} ;
$c = $b -> {-C} ;
$c -> {someFieldsOnC} ;

That's a problem of Perl itself not of DBIx::Recodrset

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message