Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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

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 about the Monastery: (4)
As of 2016-10-01 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (8 votes). Check out past polls.