Mark Fowler > Tie-DataUUID-1.00 > Tie::DataUUID

Download:
Tie-DataUUID-1.00.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.00   Source  

NAME ^

Tie::DataUUID - tie interface to Data::UUID;

SYNOPSIS ^

  use Tie::DataUUID;
  tie my $uuid, "Tie::DataUUID";

  print "A uuid is $uuid, another is $uuid\n"

DESCRIPTION ^

A simple tie interface to the Data::UUID module. Yes, this doesn't do much - it's just me being to lazy when I have to keep creating UUIDs from within strings.

To be really totally and utterly lazy you can use the exporting interface that exports the $uuid variable so you don't even have to tie things yourself:

  use Tie::DataUUID qw($uuid);
  print "A uuid is $uuid, another is $uuid\n"

In both cases the standard UUID string (that looks like 'E63E9204-9516-11D8-9C9F-AE87831498F6') are produced.

AUTHOR ^

Written by Mark Fowler <mark@twoshortplanks.com>

Copyright Fotango 2004. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

BUGS ^

None known.

Bugs should be reported to me via the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Tie::DataUUID.

SEE ALSO ^

Data::UUID, Tie::Scalar