Data::Maker::Value - A value generated by a Data::Maker::Field
my $record = $maker->next_record; my $first_name = $record->{first_name}; # <=== A Data::Maker::Value object # automatic stringification print "First name: $first_name\n"; # or, value() for backwards compatibility printf "First name: %s\n", $first_name->value;
This is a lightweight wrapper for Data::Maker field values that allows the Data::Maker internals to run a bit faster than they would without it, at the same time maintaining backward compatibility.
Returns the boxed value.
Philip Garrett (philip.garrett@icainformatics.com)
Copyright 2010 by Philip Garrett. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Data::Maker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Maker
CPAN shell
perl -MCPAN -e shell install Data::Maker
For more information on module installation, please visit the detailed CPAN module installation guide.