Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Color Gradient Generator

by hasimir44 (Sexton)
on Dec 12, 2005 at 09:43 UTC ( #515977=note: print w/replies, xml ) Need Help??


in reply to Color Gradient Generator

I had to change:
for my $i (@$grad) { push @rows, Tr(td({-bgcolor=>$i}, $i)); }
to:
for my $i (@$grad) { push @rows, Tr(td({-bgcolor=>"#$i"}, $i)); }

and it works great. This is going to be fun to play with.. There seems to be a module for everything, but it's also cool to see it laid out like this..

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2023-02-02 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (16 votes). Check out past polls.

    Notices?