Jon Allen > Paper-Specs > Paper::Specs::base::brand

Download:
Paper-Specs-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.02   Source  

Paper::base::brand ^

Base class for brand information

^

$things = Paper::Brand->find( '1234');

Returns things that match the supplied code. Typical code name normalization is applied

Class->normalize( code )

Returnes a normalized code name for consistent searching.

 - strip leading zeros from the code name
 - strip leading spaces
 - switch to all lower case
 - switch spaces to "_"