|
NAMEOryx::Value::Integer - Values containing integers SYNOPSIS package CMS::Counter;
use base qw( Oryx::Class );
our $schema = {
attributes => [ {
name => 'url',
type => 'String',
}, {
name => 'hit_count',
type => 'Integer',
} ],
};
$x = CMS::Picture->create({
url => 'http://example.com/',
hit_count => 12_542,
});
DESCRIPTIONA field with this value type will store integers. The value will be checked that it is an integer and is stored in an "Integer" primitive type. SEE ALSOOryx::Value AUTHORRichard Hundt <richard NO SPAM AT protea-systems.com> COPYRIGHT AND LICENSEThis library is free software and may be used under the same terms as Perl itself.
|