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

Re: dbix::class relationship problem or TT object handling problem?

by edoc (Chaplain)
on Sep 05, 2008 at 10:01 UTC ( [id://709221]=note: print w/replies, xml ) Need Help??


in reply to dbix::class relationship problem or TT object handling problem?

looks ok to me, nation.resources returns a list of resource objects so you need to access the column in the object..

you could also do:

[% FOR resource = nation.resources %]<li>[% resource.id %]</li>[% END +%]

which would list the resouce ids..

cheers,

J

  • Comment on Re: dbix::class relationship problem or TT object handling problem?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-26 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found