my @all_user_notes = $user_notes->search_related('notes',
{
username => $session->param('username')
}
);
my @user_notes = map {
{
'noteid' => $_->noteid,
'number' => $_->number,
'date' => $_->date,
'private' => $_->private,
}
} @all_user_notes;
And I'm getting this when I run Data::Dumper on @user_notes:{
username => $session->param('username')
}
);
my @user_notes = map {
{
'noteid' => $_->noteid,
'number' => $_->number,
'date' => $_->date,
'private' => $_->private,
}
} @all_user_notes;
$VAR1 = {
'number' => undef,
'date' => undef,
'private' => undef,
'noteid' => undef
};
--
timorperfectus.com - web design to frightening perfection.
One last song
Given to an Angel's Son
As soon as you were gone
As soon as you were gone
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
