David Landgren via RT wrote:
Show quoted text> <URL:
http://rt.cpan.org/Ticket/Display.html?id=39906 >
>
> On Wed Oct 08 21:24:27 2008, david@davidfavor.com wrote:
>> The example:
>>
>> use HTML::Rainbow 'rainbow';
>> print rainbow('hello, world');
>>
>> produces no output.
>
> oops! how embarrasing!
>
> use HTML::Rainbow,
> my $r=HTML::Rainbow->new;
> print $r->rainbow('hello, world');
>
> That will at least produce something. I shall have to fix the module so
> that it adheres to the documentation.
This does produce an HTML fragment now
I recommend you expand your example to include 'use CGI;' and to
set the DTD so the output is a fully formed web page which validates.
Or add this as an additional example.
Also, let me know if there's an easy way to have the colors returned as
an array, rather than embedded in font tags.
Thanks!
--
Love feeling your best ever, all day, every day?
Click
http://RadicalHealth.com/join for the easy way.