1Tie::DataUUID(3) User Contributed Perl Documentation Tie::DataUUID(3)
2
3
4
6 Tie::DataUUID - tie interface to Data::UUID;
7
9 use Tie::DataUUID;
10 tie my $uuid, "Tie::DataUUID";
11
12 print "A uuid is $uuid, another is $uuid\n"
13
15 A simple tie interface to the Data::UUID module. Yes, this doesn't do
16 much - it's just me being to lazy when I have to keep creating UUIDs
17 from within strings.
18
19 To be really totally and utterly lazy you can use the exporting
20 interface that exports the $uuid variable so you don't even have to tie
21 things yourself:
22
23 use Tie::DataUUID qw($uuid);
24 print "A uuid is $uuid, another is $uuid\n"
25
26 In both cases the standard UUID string (that looks like
27 'E63E9204-9516-11D8-9C9F-AE87831498F6') are produced.
28
30 Written by Mark Fowler <mark@twoshortplanks.com>
31
32 Copyright Fotango 2004. All Rights Reserved.
33
34 Copyright Mark Fowler 2009, 2013. All Rights Reserved.
35
36 This program is free software; you can redistribute it and/or modify it
37 under the same terms as Perl itself.
38
40 Bugs (or feature requests) should be reported via this distribution's
41 CPAN RT queue. This can be found at
42 <https://rt.cpan.org//Dist/Display.html?Queue=Tie-DataUUID>
43
44 You can also address issues by forking this distribution on github and
45 sending pull requests. It can be found at
46 <http://github.com/2shortplanks/Tie-DataUUID>
47
49 Data::UUID, Tie::Scalar
50
51
52
53perl v5.30.0 2019-07-26 Tie::DataUUID(3)