in reply to Re: ColorRamp1785
in thread ColorRamp1785

Because I'm using my $b for one of the rgb triple, and without the ::, perl will see that and attempt to use it instead of $::b, and fail with Can't use "my $b" in sort comparison. I guess I should have used $::a for balance--and now have.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^3: ColorRamp1785
by Lawliet (Curate) on Nov 19, 2008 at 20:33 UTC

    Oh, I see. Thanks for explaining it to me (",)

    (And you should update the lone subroutine at the top of the node too). Err, you did while I was posting :P

    I'm so adjective, I verb nouns!

    chomp; # nom nom nom