The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Maker::Value - A value generated by a Data::Maker::Field

SYNOPSIS

  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;

DESCRIPTION

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.

METHODS

value

Returns the boxed value.

AUTHOR

Philip Garrett (philip.garrett@icainformatics.com)

LICENSE

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.