CSS::Style - Represents a selector section of a CSS document
use CSS; ...
Maybe it should be called CSS::Selector, but I thought that was a lousy name.
This class represents a selector from a CSS object.
adaptor() read/write. view/change the adaptor used by convert() and converts().
property( scalar ) returns a hash of the property and its value
properties() returns a hash of all properties and values of the Style object
convert() like property(), except the property tag is converted by adaptor()
converts() like properties(), except the property tags are converted by adaptor()
add( property, value) see edit().
edit( property, value) write only. add a property to the Style object.
purge( scalar ) write-only. drop a property from the Style object.
selector( scalar ) read/write. view/change the name of the selector.
Only one constructor: new(). Called with: -adaptor optional used for transforming properties
Allen Day <allenday@ucla.edu> Copyright (c) 2001-2002
CSS::Style CSS::Adaptor perl(1).
To install CSS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSS
CPAN shell
perl -MCPAN -e shell install CSS
For more information on module installation, please visit the detailed CPAN module installation guide.