my %conds = {
my %cnt = {
On 6/26/06, Brandon Black <
[EMAIL PROTECTED]> wrote:
On 6/26/06, A. Pagaltzis < [EMAIL PROTECTED]> wrote:
> * Sarah Berry <[EMAIL PROTECTED]> [2006-06-26 20:35]:
> > my @conds = {
> > my @cnt = {
>
> Are you sure an array with a single element containing an
> anonymous hash ref is what you meant to use?
>
It may be bad form, but it does in fact work :)
my @foo = { hashkey => 'hashval' };
bar(@foo);
is equivalent to:
my $foo = { hashkey => 'hashval' };
bar($foo);
-- Brandon
_______________________________________________
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/dbix-class@lists.rawmode.org/
_______________________________________________ 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/dbix-class@lists.rawmode.org/