Color::Calc::WWW(3pm) User Contributed Perl Documentation Color::Calc::WWW(3pm)NAME
Color::Calc::WWW - Simple calculations with colors for the WWW.
SYNOPSIS
use Color::Calc::WWW;
my $background = 'green';
print 'background: ', color($background),';';
print 'border-top: solid 1px ', color_light($background),';';
print 'border-bottom: solid 1px ', color_dark($background),';';
print 'color: ', color_contrast_bw($background),';';
DESCRIPTION
The "Color::Calc::WWW" module implements simple calculations with RGB colors for the World Wide Web. This can be used to create a full
color scheme from a few colors.
This module is nearly identical to using the following:
use Color::Calc('ColorScheme' => 'WWW', 'OutputFormat' => 'html');
However, this module also makes the functions available when not imported:
use Color::Calc::WWW(); # don't import
Color::Calc::WWW::color('F00');
USAGE
By default, all functions are imported.
All functions recognize all HTML color keywords (through Graphics::ColorNames::WWW) and output the results in WWW-compatible formats, i.e.
as one of the 16 basic HTML keywords (see Graphics::ColorNames::WWW) or as #RRGGBB.
color, color_mix, ...
See L<Color::Calc> for a list of available calculation functions.
NOTE AUTHOR
Claus Faerber <CFAERBER@cpan.org>
LICENSE
Copyright 2004-2010 Claus Faerber.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-06-30 Color::Calc::WWW(3pm)
Check Out this Related Man Page
WWW::Mechanize::FormFiller::Value::Fixed(3pm) User Contributed Perl Documentation WWW::Mechanize::FormFiller::Value::Fixed(3pm)NAME
WWW::Mechanize::FormFiller::Value::Fixed - Fill a fixed value into an HTML form field
SYNOPSIS
use WWW::Mechanize::FormFiller;
use WWW::Mechanize::FormFiller::Value::Fixed;
my $f = WWW::Mechanize::FormFiller->new();
# Create a fixed value for the HTML field "login"
my $fixed = WWW::Mechanize::FormFiller::Value::Fixed->new( login => "Corion" );
$f->add_value( login => $fixed );
# Alternatively take the following shorthand, which adds the
# field to the list as well :
my $password = $f->add_filler( password => Fixed => "secret" );
DESCRIPTION
This class provides a way to write a fixed value into a HTML field.
new NAME, VALUE
Creates a new value which will correspond to the HTML field "NAME". The "VALUE" is the value to be written into the HTML field.
name [NEWNAME]
Gets and sets the name of the HTML field this value corresponds to.
value FIELD
Returns the value to put into the HTML field.
EXPORT
None by default.
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2002,2003 Max Maischein
AUTHOR
Max Maischein, <corion@cpan.org>
Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome !
SEE ALSO
WWW::Mechanize, WWW::Mechanize::Shell, WWW::Mechanize::FormFiller, WWW::Mechanize::FormFiller::Value::Value,
WWW::Mechanize::FormFiller::Value::Default, WWW::Mechanize::FormFiller::Value::Random, WWW::Mechanize::FormFiller::Value::Interactive
perl v5.10.1 2009-04-24 WWW::Mechanize::FormFiller::Value::Fixed(3pm)
Right now I am using putty.
I am using 2-3 terminals at a time. To differentiate each termianl I want to put each putty screen and background color to different colors. I tried changing the colors in normal putty but it's not working.
Is there any other color putty ?
Regards,
Venkat (2 Replies)
Hey everyone,
I have come across an issue to where I am trying to create a script which changes the text color with a simple if then statement. I have seen it done with Fedora 8 but when I try and create it using my MacBook Pro running Snow Leopard it doesn't work. Funny thing is, when I use... (2 Replies)
Hello,
I am having hard time calculating the time differnce in the below sequence. I tried nested for loops but I can't get to work.
Algorithm:
find time difference between the first AVAIL and the next event just before AVAIL.
0 05/17/2010 09:33 AVAIL <-- 1
1 05/17/2010 09:32 UM ... (2 Replies)
Hi Experts.
Finally I complete my move to Fedora distro :)
I am using the gedit editor and I'd like to customize it because I like to work with black color on background and green for text color (this remember me my university time), I did the same on UltraEdit tool before but here in gedit... (2 Replies)
Hi
want to do below mathematical calculations in shellscrip but it is not giving me the exact output.Please help me to solve this
price=95.3
price1=(20/100)*$price+$price
echo "price=$price1"
finally the output should display price=114.36
Thanks (5 Replies)
Hi
i want to print the text in different color using perl script.
i am able to print on console(terminal).
but if i try to print the same into a file, i am not able to do
color.pl
#!/bin/usr/perl
use Term::ANSIColor;
print "This text is normal.\n";
use Term::ANSIColor qw(:constants);... (3 Replies)
Hi All,
I am new to Perl and got a real stupid question. We are trying to install the Date:Calc package for some calculations with dates.The security guys mentioned they won't install it as root in /usr/bin/perl but have asked us to install it in any directory and use it from there.
Here's the... (2 Replies)
Hi all,
I have about 1.8 million files in a directory structre, that contain a ? on the end, for example:
/testdocs/1/mar/08/08/images/user/{1234-1234-1234-1234}0?
Is there a way to go through the testdocs folder, recursively, and remove the ? from all docs that have one on the end?
... (11 Replies)
I m not able to redirect the java version to a file however, it shows as output when I run my script.
bash-3.2$ more 1test.tmp
java_version=`which java`
echo "MY JAVA:"$java_version
version=`"$java_version" -version`
echo $version >>/tmp/moht/java_version.log
$java_version -version 2... (4 Replies)
I have a nice program to change the background but I want it to operate on subdirectories as well.
# Script to randomly set Background from files in a directory
while true;do
# Directory Containing Pictures
DIR="/home/pc/Pictures"
# Internal Field Separator set to newline, so file names... (4 Replies)