Re: [RDBO] New Manager argument forms

2007-02-18 Thread Jonathan Vanasco
On Feb 17, 2007, at 10:17 PM, Danial Pearce wrote: Why would you think that? The first example is passing a hash, the second is passing a hashref. The bulk of CPAN modules i've been using lately have been taking a hash or hashref as input equally. and i thought rose did something

[RDBO] New Manager argument forms

2007-02-16 Thread John Siracusa
How do people feel about the following shortcuts? Manager-get_objects([ a = 1, b = 2 ]); Manager-get_objects({ a = 1, b = 2 }); Both being equivalent to: Manager-get_objects(query = [ a = 1, b = 2 ]); This is how the new find relationship method type works, and I'm wondering if

Re: [RDBO] New Manager argument forms

2007-02-16 Thread Jonathan Vanasco
On Feb 16, 2007, at 1:11 PM, John Siracusa wrote: How do people feel about the following shortcuts? Manager-get_objects([ a = 1, b = 2 ]); Manager-get_objects({ a = 1, b = 2 }); Both being equivalent to: Manager-get_objects(query = [ a = 1, b = 2 ]); i don't like it as

Re: [RDBO] New Manager argument forms

2007-02-16 Thread Ted Zlatanov
On Fri, 16 Feb 2007 13:11:05 -0500 John Siracusa [EMAIL PROTECTED] wrote: JS How do people feel about the following shortcuts? Manager- get_objects([ a = 1, b = 2 ]); Manager- get_objects({ a = 1, b = 2 }); JS Both being equivalent to: Manager- get_objects(query = [ a = 1, b = 2 ]); JS This

Re: [RDBO] New Manager argument forms

2007-02-16 Thread Ask Bjørn Hansen
On Feb 16, 2007, at 10:11, John Siracusa wrote: Opinions? My initial thought was messy, but I keep typing it that way expecting it to work so I agree with Ted, DWIM. - ask -- http://develooper.com/ - http://askask.com/

Re: [RDBO] New Manager argument forms

2007-02-16 Thread Jud
Opinions? My initial thought was messy, but I keep typing it that way expecting it to work so I agree with Ted, DWIM. +1 for me also. I do the same thing. - Take Surveys. Earn Cash. Influence the Future of IT Join