Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Color Gradient Generator

by hasimir44 (Sexton)
on Dec 12, 2005 at 09:43 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found