windows - Undefined subroutine &UUID::generate called at -


i encountering problem following perl script else wrote generate uuid , print stdout. has misconfigured perl setup on windows 7 machine activestate's perl http://downloads.activestate.com/activeperl/releases/5.20.2.2001/activeperl-5.20.2.2001-mswin32-x86-64int-298913.msi. have data::uuid perl module versiion 1.220 installed.

#!/usr/bin/perl  use uuid;  uuid::generate($uuid);  uuid::unparse($uuid, $string);  print $string . "\n" 

when script in dos shell run no arguments following error:

undefined subroutine &uuid::generate called @ xxx 

any advice on how debug this?


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -