Re:Create a package

2002-03-05 Thread Jenda Krynicky
From: Jorge Goncalvez <[EMAIL PROTECTED]> > Hi, I wanted to create a package like this: > > > use GetMyRegPath; > > but it fails and i have this why? > thanks > > GetMyRegPath.pm did not return a true value at bootnet3.pl line 40. The last command in the GetMyRegPath.pm sho

Re:Create a package

2002-03-05 Thread Jorge Goncalvez
Hi, I wanted to create a package like this: package GetMyRegPath; use Win32::Registry; sub GetCygwinMountsPath(){ my %Vals = (); my $RegPath = "SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/"; $main::HKEY_LOCAL_MACHINE->Open($RegPath, my $MountsKey) || die "Couldn't open $RegPath\n"; $