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

2005-12-02 Thread Chris Devers
On Fri, 2 Dec 2005, Brent Clark wrote: > Anyone know if theres an archive link for this mailing list. Presumably :-) Tried Google? http://www.google.com/search?q=perl+beginners+mailing+list+archive That refers, among other things, to the following FAQ entry: 1.4 - Is there an archive on

Re: Archive

2005-12-02 Thread Adriano Ferreira
On 12/2/05, Brent Clark <[EMAIL PROTECTED]> wrote: > Anyone know if theres an archive link for this mailing list. You can find The Perl Mailing List Database at http://lists.perl.org and from there http://lists.cpan.org/showlist.cgi?name=beginners where you will find th

Re: Archive

2005-12-02 Thread Elie De Brauwer
Brent Clark wrote: Hi Anyone know if theres an archive link for this mailing list. Kind Regards Brent Clark What about http://groups.google.com/group/perl.beginners?lnk=sg ? hth E. -- Elie De Brauwer -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: Archive::TAR with better performance ?

2004-03-10 Thread Wiggins d Anconia
> > Hi all, > > Is there a way to tar files without using the Archive::TAR module which is > known to be very slow and ressource guzzler (comment in the faq). > > I am looking for a Perl module directly linked to the C library of tar to > have almost the same performance and the power of per

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

Re: Archive Logs

2002-12-28 Thread Rob Dixon
Erm, is this a trick question Tim? The stuff between your two markers isn't Perl, it's DOS commands! If you run it as a batch file it'll throw 'Bad command' errors for each line beginning with a hash, and then (probably) terminate at the 'exit 0;' line. The 'tar' command will either throw an error

Re: Archive::Tar problems....

2002-12-14 Thread Dr. Poo
Well... here's an update I've found that it's actually the $tar->write() calls that are slowing the whole operation down... I'm guessing the write actually writes then reads the tar again...which as it grows in size, it will take longer and more cpu resources to read it EACH time... Which

Re: Archive old files

2001-06-10 Thread Peter Scott
At 03:10 PM 6/10/2001 -0400, Tim Musson wrote: >Anyway, the requirement is to move all files older > than a specified age to another root folder while retaining the > entire directory structure. > > For example: > p: = d:\users\User1\WinNT\System32\notepad.exe > We want to move it to >