view release on metacpan or search on metacpan
lib/Class/DBI/Cacheable.pm view on Meta::CPAN
use base 'Class::DBI::Cacheable';
__PACKAGE__->set_db( Main => 'dbi:Pg:dbname=database', 'username', 'password' );
=head1 DESCRIPTION
Class::DBI::Cacheable transparently acts as a cacheing wrapper around L<Class::DBI>, storing
retrieved and created data in a local object cache, and returning data out of the cache
wherever possible.
Intended for better performance of L<Class::DBI>-based applications, this can prevent unnecessary
database queries by using previously-retrieved object data rather than having to go to the
view all matches for this distribution
view release on metacpan or search on metacpan
to do list for Perl extension Class::DBI::Factory.
* Handler base class that works transparently with mod_perls 1 and 2
* Authentication base class
* Independence from libapreq
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/DBI/FormBuilder.pm view on Meta::CPAN
'LIKE', 'NOT LIKE', 'REGEXP', 'NOT REGEXP',
'REGEXP BINARY', 'NOT REGEXP BINARY',
) ]
Or, transparently set the search operator in a hidden field:
search_opt_cmp => 'LIKE'
=item search_opt_order_by
view all matches for this distribution
view release on metacpan or search on metacpan
Class-DBI-Relationship-IsA version 0.05
=======================================
Class::DBI::Relationship::IsA Provides an Is A relationship between Class::DBI classes.
This should DTRT when you specify an IsA relationship between classes transparently.
For more information See Class::DBI and Class::DBI::Relationship.
This module is currently a proof of concept and may not work as intended, we would warn you
to treat it as experimental.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/DBI.pm view on Meta::CPAN
single object you'd need. So, might_have() does this work for you. It
creates an accessor to fetch the single object back if it exists, and
it also allows you import any of its methods into your namespace. So,
in the example above, the LinerNotes class can be mostly invisible -
you can just call $cd->notes and it will call the notes method on the
correct LinerNotes object transparently for you.
Making sure you don't have namespace clashes is up to you, as is correctly
creating the objects, but this may be made simpler in later versions.
(Particularly if someone asks for this!)
view all matches for this distribution
view release on metacpan or search on metacpan
Delegate.pm view on Meta::CPAN
$self->do_something_that_b_knows_how_to_do();
$self->do_something_that_a_knows_how_to_do();
=head1 DESCRIPTION
This class provides transparent support for object delegation. For more
information on delegation, see B<Design Patterns> by Erich Gamma, et al.
=cut
use strict;
view all matches for this distribution
view release on metacpan or search on metacpan
contrib/vim/syntax/perl.vim view on Meta::CPAN
endif
" File Descriptors
syn match perlFiledescRead "[<]\h\w\+[>]"
syn match perlFiledescStatementComma "(\=\s*\u\w*\s*,"me=e-1 transparent contained contains=perlFiledescStatement
syn match perlFiledescStatementNocomma "(\=\s*\u\w*\s*[^, \t]"me=e-1 transparent contained contains=perlFiledescStatement
syn match perlFiledescStatement "\u\w*" contained
" Special characters in strings and matches
syn match perlSpecialString "\\\(\d\+\|[xX]\x\+\|c\u\|.\)" contained
contrib/vim/syntax/perl.vim view on Meta::CPAN
syn match perlString "\<\I\i*\s*=>"me=e-2
" Strings and q, qq, qw and qr expressions
" Brackets in qq()
syn region perlBrackets start=+(+ end=+)+ contained transparent contains=perlBrackets,@perlStringSQ
syn region perlStringUnexpanded matchgroup=perlStringStartEnd start="'" end="'" contains=@perlInterpSQ
syn region perlString matchgroup=perlStringStartEnd start=+"+ end=+"+ contains=@perlInterpDQ
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q#+ end=+#+ contains=@perlInterpSQ
syn region perlQQ matchgroup=perlStringStartEnd start=+\<q|+ end=+|+ contains=@perlInterpSQ
contrib/vim/syntax/perl.vim view on Meta::CPAN
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*""+ end=+^$+ contains=@perlInterpDQ,perlNotEmptyLine
syn region perlHereDoc matchgroup=perlStringStartEnd start=+<<\s*''+ end=+^$+ contains=@perlInterpSQ,perlNotEmptyLine
syn region perlAutoload matchgroup=perlStringStartEnd start=+<<\(['"]\|\)\z(END_\(SUB\|OF_FUNC\|OF_AUTOLOAD\)\)\1+ end=+^\z1$+ contains=ALL
endif
else
syn match perlUntilEOFStart "<<EOF.*"lc=5 nextgroup=perlUntilEOFDQ skipnl transparent
syn match perlUntilEOFStart "<<\s*\"EOF\".*" nextgroup=perlUntilEOFDQ skipnl transparent
syn match perlUntilEOFStart "<<\s*'EOF'.*" nextgroup=perlUntilEOFSQ skipnl transparent
syn match perlUntilEOFStart "<<\s*\"\".*" nextgroup=perlUntilEmptyDQ skipnl transparent
syn match perlUntilEOFStart "<<\s*''.*" nextgroup=perlUntilEmptySQ skipnl transparent
syn region perlUntilEOFDQ matchgroup=perlStringStartEnd start=++ end="^EOF$" contains=@perlInterpDQ contained
syn region perlUntilEOFSQ matchgroup=perlStringStartEnd start=++ end="^EOF$" contains=@perlInterpSQ contained
syn region perlUntilEmptySQ matchgroup=perlStringStartEnd start=++ end="^$" contains=@perlInterpDQ,perlNotEmptyLine contained
syn region perlUntilEmptyDQ matchgroup=perlStringStartEnd start=++ end="^$" contains=@perlInterpSQ,perlNotEmptyLine contained
syn match perlHereIdentifier "<<EOF"
contrib/vim/syntax/perl.vim view on Meta::CPAN
"
" Folding
if exists("perl_fold")
if !exists("perl_nofold_packages")
syn region perlPackageFold start="^package \S\+;\s*\(#.*\)\=$" end="^1;\s*\(#.*\)\=$" end="\n\+package"me=s-1 transparent fold keepend
endif
if !exists("perl_nofold_subs")
syn region perlSubFold start="^\z(\s*\)\<sub\>.*[^};]$" end="^\z1}\s*\(#.*\)\=$" transparent fold keepend
syn region perlSubFold start="^\z(\s*\)\<\(BEGIN\|END\|CHECK\|INIT\)\>.*[^};]$" end="^\z1}\s*$" transparent fold keepend
endif
if exists("perl_fold_blocks")
syn region perlBlockFold start="^\z(\s*\)\(if\|elsif\|unless\|for\|while\|until\)\s*(.*)\(\s*{\)\=\s*\(#.*\)\=$" start="^\z(\s*\)foreach\s*\(\(my\|our\)\=\s*\S\+\s*\)\=(.*)\(\s*{\)\=\s*\(#.*\)\=$" end="^\z1}\s*;\=\(#.*\)\=$" transparent fold keep...
syn region perlBlockFold start="^\z(\s*\)\(do\|else\)\(\s*{\)\=\s*\(#.*\)\=$" end="^\z1}\s*while" end="^\z1}\s*;\=\(#.*\)\=$" transparent fold keepend
endif
setlocal foldmethod=syntax
syn sync fromstart
else
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/ExtraAttributes.pm view on Meta::CPAN
Ever ran into the problem that you want to subclass an existing class B<and>
add extra attributes to that class? And run into the problem of having to
know the internal representation of that class in order to be able to do so?
Look no further, this module is (at least a large part) of the solution.
This module makes it possible to transparently add attributes to an existing
class (usually a subclass of a standard class) without interfering with the
functionality of that class. This functionality is based on the L<OOB> class
which allows attributes to be added to any Perl data-structure.
Of course, this only applies to extra attributes on instantiated objects.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Generate.pm view on Meta::CPAN
package Class::Generate::Class_Holder; # This package encapsulates functions
$Class::Generate::Class_Holder::VERSION = '1.18';
use strict; # related to storing and retrieving
# information on classes. It lets classes
# saved in files be reused transparently.
my %classes;
sub store($)
{ # Given a class, store it so it's
my $class = $_[0]; # accessible in future invocations of
view all matches for this distribution
view release on metacpan or search on metacpan
MakeMethods/Emulator/AccessorFast.pm view on Meta::CPAN
You may use it directly, as shown in the SYNOPSIS above,
Furthermore, you may call C<use Class::MakeMethods::Emulator::AccessorFast
'-take_namespace';> to alias the Class::Accessor::Fast namespace
to this package, and subsequent calls to the original package will
be transparently handled by this emulator. To remove the emulation
aliasing, call C<use Class::MakeMethods::Emulator::AccessorFast
'-release_namespace'>.
B<Caution:> This affects B<all> subsequent uses of Class::Accessor::Fast
in your program, including those in other modules, and might cause
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Maker.pm view on Meta::CPAN
=head1 DESCRIPTION
This package is for everybody who wants to program oo-perl and does not really feel comfortable with the common way. Class::Maker introduces the concept of classes via a "class" function. It automatically creates packages, ISA, new and attribute-hand...
Reflection is transparently implemented and allows one to inspect the class properties and methods during runtime. This is helpfull for implementing persistance and serialization. A Tangram (see cpan) schema generator is included to the package, so ...
=head1 INTRODUCTION
When you want to program oo-perl, mostly you suffer under the flexibility of perl. It is so flexibel, you have to do alot by hand. Here an example (slightly modified) from perltoot perl documentation for demonstration:
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Persist/Proxy.pm view on Meta::CPAN
=head1 DESCRIPTION
Framework to replace objects in the DB by Proxy objects.
This allows delayed loading of objects.
A proxy acts as the real object itself, it should be transparent.
When a method is called on the proxy, the real object is loaded in place of the proxy.
If owner() is defined, it will autoload the object based on owner id,
otherwise it will load the object based on real_id.
=head1 INHERITANCE
view all matches for this distribution
view release on metacpan or search on metacpan
docs/class-stl-containers.pdf view on Meta::CPAN
/F22 10 Tf
0.5106 Tw
(glue) Tj
/F20 10 Tf
0.5106 Tw
( to transparently generate common functions, and will enable you to put your Perl) Tj
1 0 0 1 76.0 280.2 Tm
0.0000 Tw
(application together very quickly.
) Tj
/F20 10 Tf
1 0 0 1 76.0 256.2 Tm
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/TLB.pm view on Meta::CPAN
return bless $self , $class ;
}
=head2 isa
Overrides the UNIVERSAL::isa method to allow client code to transparently call isa method
on balanced resources.
Usage:
if ( $this->isa('Class::TLB::Dummy')){
...
lib/Class/TLB.pm view on Meta::CPAN
return UNIVERSAL::isa($o , @_ );
}
=head2 can
Overrides the UNIVERSAL::can method to allow client code to transparently call can method
on balanced resources.
Usage:
if ( $this->can('doSomething')){
...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Tie/InsideOut.pm view on Meta::CPAN
An alternative namespace can be specified, if needed:
tie %hash, 'Tie::InsideOut', 'Other::Class';
This gives a convenient way to restrict valid hash keys, as well as provide a
transparent implementation of inside-out objects, as with L<Class::Tie::InsideOut>.
This package also tracks which keys were set, and attempts to delete keys when an
object is destroyed so as to conserve resources. (Whether the overhead in tracking
used keys outweighs the savings is yet to be determined.)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Tiny.pm view on Meta::CPAN
L<Moose> and L<Moo> are both excellent OO frameworks. Moose offers a powerful
meta-object protocol (MOP), but is slow to start up and has about 30 non-core
dependencies including XS modules. Moo is faster to start up and has about 10
pure Perl dependencies but provides no true MOP, relying instead on its ability
to transparently upgrade Moo to Moose when Moose's full feature set is
required.
By contrast, Class::Tiny has no MOP and has B<zero> non-core dependencies for
Perls in the L<support window|perlpolicy>. It has far less code, less
complexity and no learning curve. If you don't need or can't afford what Moo or
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/TransparentFactory.pm view on Meta::CPAN
Its name is not important to Class::TransparentFactory, but let's call
it C<ProviderOne> here. The old namespace by which the implementation
was known we will call C<Facade>.
=item Declare C<Facade> as a transparent factory.
See I<import> below for details. For a typical OOPish module with no
special class methods, this will suffice:
package Facade;
lib/Class/TransparentFactory.pm view on Meta::CPAN
=head1 FUNCTIONS
=head2 import
The import directive is your declarative way of specifying which class
methods belong to the transparently facaded API. Supply a simple list of
names. Instance methods need not be specified here, since subsequent
method dispatches on objects created by provider classes will presumably
go to the correct place directly.
=cut
lib/Class/TransparentFactory.pm view on Meta::CPAN
Gaal Yahas, C<< <gaal at forum2.org> >>
=head1 BUGS
Please report any bugs or feature requests to
C<bug-class-transparentfactory at rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Class-TransparentFactory>.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
=head1 SUPPORT
view all matches for this distribution
view release on metacpan or search on metacpan
SUMMARY.T0045 view on Meta::CPAN
<html><body> This Perl module makes the use of clearprompt(1) both
simpler and more portable between UNIX and Windows. It handles UNIX/NT
quoting and path issues transparently, manages creation, reading, and
deletion of temp files in text/list/file modes, manages trigger series
prompting, allows capture of messages to dialog boxes and/or email, and
adds a clearprompt_dir() function to prompt for a directory. Note: a
newer version may be present at
<a href="http://www.perl.com/CPAN-local/modules/by-module/IPC/DSB/">
view all matches for this distribution
view release on metacpan or search on metacpan
return 1;
}
$CT = ClearCase::Argv->new({autochomp=>0});
my $lsv = $CT->lsview([qw(-l -prop -full)], $mkv->flagWRAPPER('clone'))->qx;
return 1 unless $lsv;
my %tm = (unix=>'transparent', msdos=>'insert_cr', strip_cr=>'strip_cr');
my ($tmo, @prop) = ($tm{$1}, split /\s+/, $2)
if $lsv =~ /Text mode: (.*?)\n.*Properties: (.*?)\n/s;
die Msg('E', 'Snapshot views not supported for cloning!')
if grep /^snapshot$/, @prop or $mkv->flagCC('snapshot');
my @nsup = grep !/(dynamic|shareable_dos|readwrite|readonly)$/, @prop;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ClickHouse/Encoder.pm view on Meta::CPAN
my @columns;
# ClickHouse's TabSeparated format escapes \\ \n \t \r \0 in field
# values. Multi-line type expressions (e.g. named Tuple, Nested) come
# out as a single TSV line with embedded \n and indentation; un-escape
# so the XS parser sees the canonical type string. The default branch
# ($1) handles \\ -> \ and any other backslash-escape forms transparently.
my $unesc = sub {
my $s = shift // '';
$s =~ s{\\(.)}{ $1 eq 'n' ? "\n"
: $1 eq 't' ? "\t"
: $1 eq 'r' ? "\r"
lib/ClickHouse/Encoder.pm view on Meta::CPAN
C<Variant(T1, T2, ...)> (CH 24.1+; tagged union). Each row is either
C<undef> (null) or C<[$variant_idx, $value]>, where C<$variant_idx> is
the 0-based position in the declared C<Variant(...)> type list (so
C<Variant(String, UInt32)> uses 0 for String and 1 for UInt32). Up to 254
variants. ClickHouse stores Variant arms alphabetically by type name on
the wire; the encoder remaps your declared index transparently, so you
always use declaration order in your code. C<describe table> returns the
arms already alphabetized, and C<for_table> uses that form, so indices
match either way.
=item *
lib/ClickHouse/Encoder.pm view on Meta::CPAN
=item F<eg/insert_compressed.pl>
insert with on-the-wire compression (zstd via L<Compress::Zstd>, falling
back to gzip via core L<IO::Compress::Gzip>). Sets C<Content-Encoding>
so ClickHouse decompresses transparently.
=item F<eg/insert_async_ev.pl>
Non-blocking concurrent inserts using L<EV>'s event loop with raw HTTP
sockets, paired with this encoder's L</streamer>. Demonstrates the
view all matches for this distribution
view release on metacpan or search on metacpan
AI_POLICY.md view on Meta::CPAN
---
## Overview
This document describes how artificial intelligence tools are used in the maintenance and development of this project. It is intended to be transparent with our contributors, users, and the broader open-source community about the role AI plays â an...
We believe in honest, clear communication about AI-assisted workflows. This policy will be updated as our practices evolve.
---
view all matches for this distribution
view release on metacpan or search on metacpan
examples/helloworld/htdocs/dwarf/bootstrap/css/bootstrap-responsive.css view on Meta::CPAN
clear: both;
}
.hide-text {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.input-block-level {
display: block;
examples/helloworld/htdocs/dwarf/bootstrap/css/bootstrap-responsive.css view on Meta::CPAN
display: none;
float: none;
max-width: none;
padding: 0;
margin: 0 15px;
background-color: transparent;
border: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Coat/Persistent.pm view on Meta::CPAN
Coat::Persistent -- Simple Object-Relational mapping for Coat objects
=head1 DESCRIPTION
Coat::Persistent is an object to relational-databases mapper, it allows you to
build instances of Coat objects and save them into a database transparently.
You basically define a mapping rule, either global or per-class and play with
your Coat objects without bothering with SQL for simple cases (selecting,
inserting, updating).
lib/Coat/Persistent.pm view on Meta::CPAN
(they are a column of the table mapped to the class).
=item B<has_one $class>
Tells that current class owns a subobject of the class $class. This will allow
you to set and get a subobject transparently.
The backend must have a foreign key to the table of $class.
Example:
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Cocoa/Growl.pm view on Meta::CPAN
);
Cocoa::EventLoop->run_while(0.1) while unless $wait;
If you want to write more complicated script, use L<AnyEvent>.
AnyEvent 5.3 or higher is support L<Cocoa::EventLoop> internally, so you can use cocoa's event loop transparently in your AnyEvent application.
See L<AnyEvent::Impl::Cocoa> for more detail.
=head1 USE YOUR OWN Growl.framework
Although this module bundle Growl.framework and load it by default, you can load your own Growl.framework.
view all matches for this distribution
view release on metacpan or search on metacpan
php/PHP_CodeSniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.1.css view on Meta::CPAN
* which should be detected.
>>>>>>> ref/heads/feature-branch
*/
.SettingsTabPaneWidgetType-tab-mid {
background: transparent url(tab_inact_mid.png) repeat-x;
<<<<<<< HEAD
line-height: -25px;
=======
line-height: -20px;
>>>>>>> ref/heads/feature-branch
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Prima/CodeManager/Label.pm view on Meta::CPAN
@clr = ($self-> disabledColor, $self-> disabledBackColor);
}
unless ( $self-> transparent) {
$canvas-> color( $clr[1]);
$canvas-> bar(0,0,@size);
}
my $fh = $canvas-> font-> height + $self->{lineSpace};
view all matches for this distribution
view release on metacpan or search on metacpan
share/js/jquery-ui-1.11.4.js view on Meta::CPAN
});
// Found a stringParser that handled it
if ( rgba.length ) {
// if this came from a parsed string, force "transparent" when alpha is 0
// chrome, (and maybe others) return "transparent" as rgba(0,0,0,0)
if ( rgba.join() === "0,0,0,0" ) {
jQuery.extend( rgba, colors.transparent );
}
return inst;
}
// named colors
share/js/jquery-ui-1.11.4.js view on Meta::CPAN
},
transition: function( other, distance ) {
var end = color( other ),
spaceName = end._space(),
space = spaces[ spaceName ],
startColor = this.alpha() === 0 ? color( "transparent" ) : this,
start = startColor[ space.cache ] || space.to( startColor._rgba ),
result = start.slice();
end = end[ space.cache ];
each( space.props, function( key, prop ) {
share/js/jquery-ui-1.11.4.js view on Meta::CPAN
v = ( v || 0 ).toString( 16 );
return v.length === 1 ? "0" + v : v;
}).join("");
},
toString: function() {
return this._rgba[ 3 ] === 0 ? "transparent" : this.toRgbaString();
}
});
color.fn.parse.prototype = color.fn;
// hsla conversions adapted from:
share/js/jquery-ui-1.11.4.js view on Meta::CPAN
jQuery.cssHooks[ hook ] = {
set: function( elem, value ) {
var parsed, curElem,
backgroundColor = "";
if ( value !== "transparent" && ( jQuery.type( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {
value = color( parsed || value );
if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
curElem = hook === "backgroundColor" ? elem.parentNode : elem;
while (
(backgroundColor === "" || backgroundColor === "transparent") &&
curElem && curElem.style
) {
try {
backgroundColor = jQuery.css( curElem, "backgroundColor" );
curElem = curElem.parentNode;
} catch ( e ) {
}
}
value = value.blend( backgroundColor && backgroundColor !== "transparent" ?
backgroundColor :
"_default" );
}
value = value.toRgbaString();
share/js/jquery-ui-1.11.4.js view on Meta::CPAN
silver: "#c0c0c0",
teal: "#008080",
white: "#ffffff",
yellow: "#ffff00",
// 4.2.3. "transparent" color keyword
transparent: [ null, null, null, 0 ],
_default: "#ffffff"
};
})( jQuery );
share/js/jquery-ui-1.11.4.js view on Meta::CPAN
},
wrapper = $( "<div></div>" )
.addClass( "ui-effects-wrapper" )
.css({
fontSize: "100%",
background: "transparent",
border: "none",
margin: 0,
padding: 0
}),
// Store the size in case width/height are defined in % - Fixes #5245
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Collection/Memcached.pm view on Meta::CPAN
=head1 METHODS
=head2 new <memcached object>[, <prefix>]
Creates a new Collection::Memcached object. Keys transparently autoprefixed with <prefix> if provided.
my $collection_prefix = new Collection::Memcached:: $memd, 'prefix';
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Color/Library/Dictionary/NBS_ISCC/M.pm view on Meta::CPAN
tourmaline pink tourmalinepink #915f6d
tourterelle tourterelle #967117
transparent chromium oxide transparentchromiumoxide #007959
transparent chromium oxide transparentchromiumoxide #3b7861
transparent gold ochre transparentgoldochre #ae6938
transparent gold ochre transparentgoldochre #996515
traprock traprock #555555
travertine travertine #967117
lib/Color/Library/Dictionary/NBS_ISCC/M.pm view on Meta::CPAN
['nbs-iscc-m:tortoiseshell.58','tortoiseshell','tortoise shell',[111,78,55],'6f4e37',7294519],
['nbs-iscc-m:totem.38','totem','totem',[158,71,50],'9e4732',10372914],
['nbs-iscc-m:tourmaline.163','tourmaline','tourmaline',[102,173,164],'66ada4',6729124],
['nbs-iscc-m:tourmalinepink.262','tourmalinepink','tourmaline pink',[145,95,109],'915f6d',9527149],
['nbs-iscc-m:tourterelle.94','tourterelle','tourterelle',[150,113,23],'967117',9859351],
['nbs-iscc-m:transparentchromiumoxide.141','transparentchromiumoxide','transparent chromium oxide',[0,121,89],'007959',31065],
['nbs-iscc-m:transparentchromiumoxide.145','transparentchromiumoxide','transparent chromium oxide',[59,120,97],'3b7861',3897441],
['nbs-iscc-m:transparentgoldochre.54','transparentgoldochre','transparent gold ochre',[174,105,56],'ae6938',11430200],
['nbs-iscc-m:transparentgoldochre.74','transparentgoldochre','transparent gold ochre',[153,101,21],'996515',10052885],
['nbs-iscc-m:traprock.266','traprock','traprock',[85,85,85],'555555',5592405],
['nbs-iscc-m:travertine.94','travertine','travertine ',[150,113,23],'967117',9859351],
['nbs-iscc-m:trentanel.101','trentanel','trentanel',[234,230,121],'eae679',15394425],
['nbs-iscc-m:trentanel.102','trentanel','trentanel',[185,180,89],'b9b459',12170329],
['nbs-iscc-m:trianon.29','trianon','trianon',[217,166,169],'d9a6a9',14263977],
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Colouring/In.pm view on Meta::CPAN
$black->toOnTerm # on_r0g0b0
my $white = $black->lighten('100%');
my $black = $white->darken('100%');
my $transparent = $black->fadeout('100%');
$black = $transparent->fadein('100%');
...
use Colouring::In qw/lighten darken/;
my $white = lighten('#000', '100%');
my $black = darken('#fff', '100%');
my $transparent = fade('#fff', '0%');
my $transparent = fadeout('#fff', '100%');
my $colour = fadein('rgba(125,125,125,0'), '100%');
=head1 Instantiate
lib/Colouring/In.pm view on Meta::CPAN
=cut
=head2 rgba
Instantiate an Colouring::In Object transparent colour from decimal red, green, blue and alpha (RGBA) values.
my $colour = Colouring::In->rgb(0, 0, 0, 0.5);
=cut
lib/Colouring/In.pm view on Meta::CPAN
=cut
=head2 toRGBA
Returns an transparent colour string from decimal red, green, blue and alpha (RGBA) values.
my $string = $colour->toRGBA;
=cut
view all matches for this distribution