http://www.perlmonks.org?node_id=133897


in reply to Win32-API-Guid

libwin32 0.18 which is bundled with the latest ActivePerl has a function ( Win32::GuidGen() ) which generates GUIDs using the API.

See http://search.cpan.org/doc/GSAR/libwin32-0.18/Changes



Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;

Replies are listed 'Best First'.
Re: Re: Win32-API-Guid
by Anonymous Monk on Feb 13, 2002 at 11:17 UTC
    it gives me an error : >test.pl 1..3Can't locate Win32/API.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib . ) at C:/Perl/site/lib/Win32/API/Guid.pm line 25. BEGIN failed--compilation aborted at C:/Perl/site/lib/Win32/API/Guid.pm line 25. where can i find API.pm ?btw i have had to create C:/Perl/site/lib/Win32/API/ cause this folder didnt exist. Thats a totally mess !!!

      Win32::API should be installed on your system. Are you using ActiveState Perl?

      ___ Simon Flack ($code or die)
      $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
      =~y'_"' ';eval"die";print $_,lc substr$@,0,3;