On 7/13/07, apv <[EMAIL PROTECTED]> wrote:
[% vote = Catalyst.user.votes({word => w.id}) IF Catalyst.user_exists %]

Just FYI, you should never do this type of construct in perl.  It will
break in bizarre ways.  I doubt that's the issue with TT, but don't
get in the habit.

my $vote = $foo if ($bar);  # <--- bad!

- Perrin

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to