Click to See Complete Forum and Search --> : Data::UUID


buggy
03-10-2005, 10:30 AM
I am on windows, the module is not available using ppm. I have downloaded it from CPAN, unzipped it and put the .pm file into lib & site/lib.

The module (UUID.pm) is now present in C:/Perl/site/lib and C:/Perl/site but when I run the simple script to test it I get the following error.

-------------------
#!/usr/bin/perl
use Data::UUID;

my $uf = Data::UUID->new(); # creates a factory;
print $uf->create_str(), "\n" for 1..10;

-----------------
Can't locate loadable object for module Data::UUID in @INC (@INC contains: C:/Pe
rl/lib C:/Perl/site/lib .) at Rand.pl line 2
Compilation failed in require at Rand.pl line 2.