Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: How should named paramater keys be named?

by tonyc (Pilgrim)
on Jul 13, 2011 at 07:48 UTC ( #914073=note: print w/ replies, xml ) Need Help??


in reply to Re^4: How should named paramater keys be named?
in thread How should named paramater keys be named?

That behaviour of Imager::Color would be a bug, given the documentation.

But I can't reproduce it:

tony@mars:.../git/bse$ perl -MImager -le '$c = Imager::Color->new(0, 0 +, 255); print join ",", $c->rgba' 0,0,255,255


Comment on Re^5: How should named paramater keys be named?
Download Code
Replies are listed 'Best First'.
Re^6: How should named paramater keys be named?
by Corion (Pope) on Jul 13, 2011 at 07:52 UTC

    Maybe the problem was in my subsequent use of the colour - I have to look at the code at home to see what really triggered the behaviour in the program. Looking at the code in Imager::Color, I don't see any reason why it shouldn't behave as the documentation says.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://914073]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-07-31 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls