QUOTED_MESSAGE: [SNIP] > > Opps, that message from Arnar contained "This > really is the last version (we hope) before a CPAN > release." I mis-interpreted that to mean Imager hadn't > been released to CPAN yet at all. That changes > everything... > [SNIP] > > I like the named parameter interface better and I > understand the need for backward compatibility. I think it > might be a good idea to support both, perhaps by checking if > the first param is an href then assume named params and > ignore any remaining list params (there shouldn't be > any.) > [SNIP] > > We could name the params something like color_red, > color_green, color_blue... > or better yet, use a lref to pass all three since they > should always go together: > $c = Imager::Color->new(rgb=>[100, 0, 255], > alpha=>128); > [SNIP] > Great :-)
EKKI skrifa neitt hér:
© 2000-2002 Bjarni R. Einarsson / fyrirspurnir / skilmálar / þakkir /