Bug#719186: UUID: better SYNOPSIS example
jidanni at jidanni.org
jidanni at jidanni.org
Fri Aug 9 01:02:06 UTC 2013
X-Debbugs-Cc: braam at mountainviewdata.com
Package: libuuid-perl
Version: 0.02-5
Severity: wishlist
File: /usr/share/man/man3/UUID.3pm.gz
Perhaps make a fuller SYNOPSIS,
use strict;
use UUID;
my ($uuid, $string, $rc);
UUID::generate($uuid); # generates a 128 bit uuid
UUID::unparse($uuid, $string); # change $uuid to 36 byte string
print $string;
$rc = UUID::parse($string, $uuid); # map string to UUID, return -1 on error
etc. etc.
P.S. double apostrophe in:
DESCRIPTION
With these 3 routines UUID''s can easily be generated and parsed/un-parsed.
More information about the pkg-perl-maintainers
mailing list