/usr/lib/perl5/UUID.pm is in libuuid-perl 0.02-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | package UUID;
require 5.005;
use strict;
#use warnings;
require Exporter;
require DynaLoader;
use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK $VERSION);
@ISA = qw(Exporter DynaLoader);
# This allows declaration use UUID ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
%EXPORT_TAGS = ( 'all' => [qw(&generate &parse &unparse)] );
@EXPORT_OK = ( @{$EXPORT_TAGS{'all'}} );
$VERSION = '0.02';
bootstrap UUID $VERSION;
# Preloaded methods go here.
1;
__END__
=head1 NAME
UUID - Perl extension for using UUID interfaces as defined in e2fsprogs.
=head1 SYNOPSIS
use UUID;
UUID::generate($uuid); # generates a 128 bit uuid
UUID::unparse($uuid, $string); # change $uuid to 36 byte string
$rc = UUID::parse($string, $uuid); # map string to UUID, return -1 on error
=head1 DESCRIPTION
With these 3 routines UUID''s can easily be generated and parsed/un-parsed.
=head2 EXPORT
UUID::{generate, parse, unparse}
=head1 AUTHOR
Peter J. Braam <braam@mountainviewdata.com>
=head1 SEE ALSO
perl(1).
=cut
|