[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-users
Subject:    Re: [Announce] Win32 PerlZip module version 1.23
From:       "Igor \"Lepi\"" <igor () attractive ! com>
Date:       1999-07-30 12:10:05
[Download RAW message or body]

Actually I have more than one version of perl , so this one worked for me :

($DLLPath = $^X) =~ s![^\\]+$!!;
($DLLPath .= "auto\\Win32\\Zip\\zip.dll") =~ s!\\bin!\\site\\lib! ;

Wich results in :

C:\Perl\site\lib\MSWin32-x86-object\auto\Win32\Zip\zip.dll

Just a thought !

/Igor
----- Original Message -----
From: Amine <aminer@generation.net>
To: Perl-Win32-Users Mailing List
<perl-win32-users@listserv.activestate.com>
Sent: Friday, July 30, 1999 13:22
Subject: Re: [Announce] Win32 PerlZip module version 1.23


> Hello
>
> >> I have done it like this:
> >>
> >> $^X =~ m/\\bin/;
> >> $DLLPath=$`."\\site\\lib\\auto\\Win32\\Zip\\zip.dll";
>
> >Why not. :-)
>
> :-)
>
> >I am not against the posibility. I just don't think it should be
> >necessary. After the change you made and if the installer saves the
> >DLL into the correct directory, I have no problem with this :-)
>
> Anyway, i will let this option perhaps you will need it someday
> (ea: perl2exe...) :-)
>
>
> Regards,
> Amine
>
>
>
>
> Jenda Krynicky wrote:
>
> > > Hello Jenda,
> > >
> > > >my $MemMapDLL=__FILE__;
> > > >$MemMapDLL=~tr#/#\\#;
> > > >$MemMapDLL=~
s#\\Win32\\MemMap\.pm#\\auto\\Win32\\MemMap\\MemMap.dll#i;
> > >
> > > I have done it like this:
> > >
> > > $^X =~ m/\\bin/;
> > > $DLLPath=$`."\\site\\lib\\auto\\Win32\\Zip\\zip.dll";
> >
> > Why not. :-)
> >
> > > What do you think ?
> > >
> > > >I don't think it's acceptable that you have to specify the path to
the DLL
> > > in your scripts.
> > >
> > > You still need this method  if you want to move the DLLs to other
> > > locations.
> >
> > I am not against the posibility. I just don't think it should be
> > necessary. After the change you made and if the installer saves the
> > DLL into the correct directory, I have no problem with this :-)
> >
> >
> >
> > == Jenda@Krynicky.cz == http://Jenda.Krynicky.cz ==
> >  The phenomenon of UFO doesn't say anything about
> >     the presence of intelligence in space.
> >   It just shows how rare it is here on the earth.
> >                                     A.C.Clarke
>
>
>
>
> ---
> You are currently subscribed to perl-win32-users as: igor@attractive.com
> To unsubscribe, forward this message to
>          leave-perl-win32-users-90392J@lyris.activestate.com
> For non-automated Mailing List support, send email to
>          ListHelp@ActiveState.com


---
You are currently subscribed to perl-win32-users as: [perl-win32-users@progressive-comp.com]
To unsubscribe, forward this message to
         leave-perl-win32-users-90392J@lyris.activestate.com
For non-automated Mailing List support, send email to  
         ListHelp@ActiveState.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic