Repository::Simple::Type::Value::Scalar - Simple "rs:scalar" value type


Repository-Simple documentation Contained in the Repository-Simple distribution.

Index


Code Index:

NAME

Top

Repository::Simple::Type::Value::Scalar - Simple "rs:scalar" value type

SYNOPSIS

Top

  my $value_type = Repository::Simple::Type::Value::Scalar->new;

DESCRIPTION

Top

This represents the simplest of all value types. It only holds any scalar and does nothing to check or inflate or deflate a given value.

AUTHOR

Top

Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>

LICENSE AND COPYRIGHT

Top


Repository-Simple documentation Contained in the Repository-Simple distribution.
package Repository::Simple::Type::Value::Scalar;

use strict;
use warnings;

our $VERSION = '0.01';

use base 'Repository::Simple::Type::Value';

sub new {
    return bless {}, __PACKAGE__;
}

sub name {
    return 'rs:scalar';
}

1