Repository::Simple::Value - Tie interface to property values
This class is used for access a property value. This class is never instantiated directly, but retrieved from a property via the value() method:
value()
my $value = $property->value; my $scalar = $value->get_scalar; my $handle = $handle->get_handle('<');
Retrieve the value of the property as a scalar value.
Retrieve the value of the property as an IO handle. The $mode argument is used to specify what kind of handle it is. It should be one of:
$mode
"<"
">"
">>"
"+<"
"+>"
"+>>"
If the value cannot be returned with a handle in the given mode, the method will croak. If $mode is not given, then "<" is assumed.
Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>
Copyright 2005 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Repository::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Repository::Simple
CPAN shell
perl -MCPAN -e shell install Repository::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.