Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

DBIx::Class - shortcutting relationships [resolved]

by cLive ;-) (Prior)
on Oct 04, 2012 at 18:21 UTC ( #997284=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (my $team = $league->teams->next ) {
      ...
    }
    
  2. or download this
    while (my $team_league = $league->team_league->next ) {
      my $team = $team_league->team;
      ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://997284]
Approved by Corion
help
Chatterbox?
[Discipulus]: even with odd number of \
[Eily]: well, it allows you to concatenate strings to make a path without knowing if the final \ is already there or not

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-05-24 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?