Re: Archive::Zip->addTree returned 2

2017-10-05 Thread Shlomi Fish
On Wed, 4 Oct 2017 23:26:31 +0530 Asad wrote: > Hi All > > I have perl script abc.pl and module abc.pm . When i execute abc.pl which > is using one the modules > Hi Asad! Please see https://github.com/shlomif/how-to-share-code-online and comply with the instructions there. > Archive::Zip >

Re: Archive::Zip->addTree returned 2

2017-10-04 Thread Andy Bach
patch_zip: /Location/patch1//patch1.zip Creating zip file /Location/patch1//patch1.zip for apply pwd: The file access permissions do not allow the specified action. A process terminated prior to completion. pwd: The file access permissions do not allow the specified action. It would help to know w

Re: Archive::Zip library on Solaris

2010-01-25 Thread Alan Haggai Alavi
>Hello all, > >I have a Perl Script that uses some of the Archive::Zip's methods for >reading zip entries. Works fine on Linux, BUT on Solaris, this lib is not >available in Solaris and I'm not allowed to install any lib in it. Is there >a way to load the archive::zip lib dinamically, without insta

Re: Archive::Zip library on Solaris

2010-01-25 Thread Bruno
Ok, so lets try. Hope it works. I know this version sucks... but unfortunatelly I don't have the power to decide which Perl version shall we use on our machines :-P , but my team will keep trying to convince the big guys to upgrade it. On Mon, Jan 25, 2010 at 12:26 PM, Shlomi Fish wrote: > On M

Re: Archive::Zip library on Solaris

2010-01-25 Thread Shlomi Fish
On Monday 25 Jan 2010 16:07:55 Bruno wrote: > This lib is not available as default lib on v5.83 . I have to do everything > considering the default installed libs. > http://search.cpan.org/dist/local-lib/lib/local/lib.pm > 1. The point of local-lib is that you download and install it from the loc

Re: Archive::Zip library on Solaris

2010-01-25 Thread Bruno
This lib is not available as default lib on v5.83 . I have to do everything considering the default installed libs. http://search.cpan.org/dist/local-lib/lib/local/lib.pm On Mon, Jan 25, 2010 at 11:57 AM, Shlomi Fish wrote: > On Monday 25 Jan 2010 15:28:11 Bruno wrote: > > And for uninstall it?

Re: Archive::Zip library on Solaris

2010-01-25 Thread Shlomi Fish
On Monday 25 Jan 2010 15:28:11 Bruno wrote: > And for uninstall it? Since I'm not allowed to alter the server, I have to > remove the installed lib after using it > Just delete ~/perl5/ or wherever you configured local-lib to install the code it installs. Regards, Shlomi Fish --

Re: Archive::Zip library on Solaris

2010-01-25 Thread Bruno
And for uninstall it? Since I'm not allowed to alter the server, I have to remove the installed lib after using it On Mon, Jan 25, 2010 at 11:10 AM, Shlomi Fish wrote: > On Monday 25 Jan 2010 14:58:49 Jeff Peng wrote: > > > I have a Perl Script that uses some of the Archive::Zip's methods for >

Re: Archive::Zip library on Solaris

2010-01-25 Thread Shlomi Fish
On Monday 25 Jan 2010 14:58:49 Jeff Peng wrote: > > I have a Perl Script that uses some of the Archive::Zip's methods for > > reading zip entries. Works fine on Linux, BUT on Solaris, this lib is not > > available in Solaris and I'm not allowed to install any lib in it. Is > > there a way to load t

Re: Archive::Zip library on Solaris

2010-01-25 Thread Jeff Peng
> I have a Perl Script that uses some of the Archive::Zip's methods for > reading zip entries. Works fine on Linux, BUT on Solaris, this lib is not > available in Solaris and I'm not allowed to install any lib in it. Is there > a way to load the archive::zip lib dinamically, without installing it

Re: Archive::Zip and hash issues

2006-09-14 Thread Mumia W.
On 09/14/2006 09:20 AM, Derek B. Smith wrote: [...] sub zipit { ##-- Add all readable files below $oldir --## ##-- and write them into a file. --## my $zip = Archive::Zip->new(); my $entry = $zip->addDirectory ("$oldir/$word/") or die "Failed to add file for archive zip $!"; $entry->de

Re: Archive::Zip and hash issues

2006-09-14 Thread Derek B. Smith
--- Tom Phoenix <[EMAIL PROTECTED]> wrote: > On 9/14/06, Derek B. Smith > <[EMAIL PROTECTED]> wrote: > > > my %subdir_for = ( > > 'bpjava\-msvc' => 23, > > 'bpjava\-susvc' => 24, > > 'bpjava\-usvc'=> 25, > > ) > > Those backslashes aren't doing anything. But they > aren't needed, > e

Re: Archive::Zip and hash issues

2006-09-14 Thread Tom Phoenix
On 9/14/06, Derek B. Smith <[EMAIL PROTECTED]> wrote: my %subdir_for = ( 'bpjava\-msvc' => 23, 'bpjava\-susvc' => 24, 'bpjava\-usvc'=> 25, ) Those backslashes aren't doing anything. But they aren't needed, either; hyphen isn't a special character in a hash key or single-quoted stri

Re: Archive Zip

2006-09-12 Thread Derek B. Smith
--- Rob Dixon <[EMAIL PROTECTED]> wrote: > Derek B. Smith wrote: > > > > --- Tom Phoenix <[EMAIL PROTECTED]> wrote: > > > >>On 9/11/06, Derek B. Smith > >><[EMAIL PROTECTED]> wrote: > >> > >>>I need to compress a bunch of files, so instead > of making a system call to > >>>gzip I figured to try ou

Re: Archive Zip

2006-09-12 Thread Rob Dixon
Derek B. Smith wrote: --- Tom Phoenix <[EMAIL PROTECTED]> wrote: On 9/11/06, Derek B. Smith <[EMAIL PROTECTED]> wrote: I need to compress a bunch of files, so instead of making a system call to gzip I figured to try out Archive::Zip. After running this code it creates a new file but is large

Re: Archive Zip

2006-09-12 Thread Derek B. Smith
--- Tom Phoenix <[EMAIL PROTECTED]> wrote: > On 9/11/06, Derek B. Smith > <[EMAIL PROTECTED]> wrote: > > > I need to compress a bunch of files, so instead of > > making a system call to gzip I figured to try out > > Archive::Zip. > > After running this code it creates a new file but > is > > la

Re: Archive Zip

2006-09-11 Thread Tom Phoenix
On 9/11/06, Derek B. Smith <[EMAIL PROTECTED]> wrote: I need to compress a bunch of files, so instead of making a system call to gzip I figured to try out Archive::Zip. After running this code it creates a new file but is larger in size. That module automatically uses Compress::Zlib to compres

RE: Archive::Zip funnny return status

2003-08-14 Thread Dan Muey
> > I think your pattern match will only catch a literal AZ_OK, > > not the constant. And I'm not sure, but AZ_OK might evaluate > > to 0. At least I think I remember having trouble with that > > module because it returns 0 on success, and I kept testing > > for TRUE/FALSE based on the return

RE: Archive::Zip funnny return status

2003-08-10 Thread wiggins
On Wed, 6 Aug 2003 11:33:18 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote: > > > > I think your pattern match will only catch a literal AZ_OK, > > > not the constant. And I'm not sure, but AZ_OK might evaluate > > > to 0. At least I think I remem

RE: Archive::Zip funnny return status

2003-08-06 Thread Dan Muey
> I think your pattern match will only catch a literal AZ_OK, > not the constant. And I'm not sure, but AZ_OK might evaluate > to 0. At least I think I remember having trouble with that > module because it returns 0 on success, and I kept testing > for TRUE/FALSE based on the return status.

RE: Archive::Zip funnny return status

2003-08-06 Thread Tim Johnson
Muey Cc: [EMAIL PROTECTED] Subject: RE: Archive::Zip funnny return status On Wed, 6 Aug 2003 11:33:18 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote: > > > > I think your pattern match will only catch a literal AZ_OK, not

RE: Archive::Zip funnny return status

2003-08-05 Thread Tim Johnson
I think your pattern match will only catch a literal AZ_OK, not the constant. And I'm not sure, but AZ_OK might evaluate to 0. At least I think I remember having trouble with that module because it returns 0 on success, and I kept testing for TRUE/FALSE based on the return status. -Original