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.

Re: Archive::Zip->addTree returned 2

2017-10-04 Thread Andy Bach
Wed, Oct 4, 2017 at 12:56 PM, 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 > > Archive::Zip > I am getting the following errors : > > patch_zip: /Location/patch1//patch1.zip Creating

Archive::Zip->addTree returned 2

2017-10-04 Thread Asad
Hi All I have perl script abc.pl and module abc.pm . When i execute abc.pl which is using one the modules Archive::Zip > I am getting the following errors : patch_zip: /Location/patch1//patch1.zip Creating zip file /Location/patch1//patch1.zip for apply pwd: The file access permissions do

Re: How to append to a file in a Archive::Zip object ?

2016-10-24 Thread Vincent Lequertier
'test', COMPRESSION_DEFLATED); > } > else { > $zip->contents( 'test', $zip->contents( 'test' ) . $config ); > } > > If it's too much data to fit in memory you have to go with the temp file > option. > > Just

Re: How to append to a file in a Archive::Zip object ?

2016-10-22 Thread Eric de Hont
nfig ); } If it's too much data to fit in memory you have to go with the temp file option. Just a thought though: perhaps a zip archive to compress just one file is a bit overkill. Maybe IO::Compress::Gzip, which let's you compress strings in this way: gzip \$input \$output

How to append to a file in a Archive::Zip object ?

2016-10-21 Thread Vincent Lequertier
Hello, I'm a bit stuck with Archive::Zip. I'm trying to find a clean way to append to a file inside a Archive::Zip object. See the code below: my $zip = Archive::Zip->new(); for my $master(@{$json}) { $config = qx /some command depending on $master/; $zip->addStrin

Re: Can't find EOCD signature Archive::Zip

2014-12-07 Thread Mike Flannigan
mega -1911 wrote: Perhaps you could use: Archive::Extract #!/usr/bin/perl -w $| = 1; BEGIN {open (STDERR, ">>error.txt"); } print "Content-type: text/html\n\n"; use Archive::Extract; use CGI::Carp qw/fatalsToBrowser/; use File::Find; use Cwd; my $dir = cwd(); my $time = ti

Re: Can't find EOCD signature Archive::Zip

2014-12-07 Thread Natxo Asenjo
On Sun, Dec 7, 2014 at 3:41 PM, Mike Flannigan wrote: > > FYI, > > Brandon McCaig set me straight that Archive::Zip is not > designed to extract Unix gzip files. in the standard Perl libraries you have IO::Uncompress::Gunzip which should do exactly what you require, I

Re: Can't find EOCD signature Archive::Zip

2014-12-07 Thread Omega -1911
Perhaps you could use: Archive::Extract #!/usr/bin/perl -w $| = 1; BEGIN {open (STDERR, ">>error.txt"); } print "Content-type: text/html\n\n"; use Archive::Extract; use CGI::Carp qw/fatalsToBrowser/; use File::Find; use Cwd; my $dir = cwd(); my $time = time; my $cn

Re: Can't find EOCD signature Archive::Zip

2014-12-07 Thread Mike Flannigan
FYI, Brandon McCaig set me straight that Archive::Zip is not designed to extract Unix gzip files. I then tried to use Archive::Tar, but it gave the error: Invalid header block at offset unknown at unzipgz.pl line 20 Error reading H.dat.gz: at unzipgz.pl line 20. I tried it on 2 different sets

Re: Can't find EOCD signature Archive::Zip

2014-12-05 Thread Brandon McCaig
Mike: On Thu, Dec 4, 2014 at 7:15 AM, Mike Flannigan wrote: > This is a very old problem that apparently still > persists. Some or all gzip files created on > Unix can't be unzipped by Archive::Zip (1.38). > > There are tons of old posts from 2005 that mention > this pro

Can't find EOCD signature Archive::Zip

2014-12-04 Thread Mike Flannigan
This is a very old problem that apparently still persists. Some or all gzip files created on Unix can't be unzipped by Archive::Zip (1.38). There are tons of old posts from 2005 that mention this problem, but apparently it is not an easy fix. Here is one link: http://www.perlmonk

Re: how to test all files in array exist in the tar using Archive::Tar

2011-04-26 Thread Agnello George
; >> >> @somefiles  = qw(xsl/photos_videos.xsl >> xsl/research.xsl >> xsl/reviews.xsl >> xsl/sendemail.xsl >> xsl/slideshow.xsl >> xsl/slideshow_details.xsl ); >> >> >> $tar->add_files(@allfiles_excluded); >>  $tar->write( $fulta

Re: how to test all files in array exist in the tar using Archive::Tar

2011-04-26 Thread Jim Gibson
ow.xsl xsl/slideshow_details.xsl ); $tar->add_files(@allfiles_excluded); $tar->write( $fultar, 9 ); Have you read the Archive::Tar documentation? Either 'perldoc Archive::Tar' on a command-line or here: <http://search.cpan.org/~bingos/Archive-Tar-1.76/lib/Archiv

how to test all files in array exist in the tar using Archive::Tar

2011-04-26 Thread Agnello George
uded); $tar->write( $fultar, 9 ); i also need to test the tar file in , i cant find a option in Archive::Tar , some thing similar to tar -tvf sometar.tgz Can some one help me with this . thanks -- Regards Agnello D'souza -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For a

Re: Using Archive::Zip to compress two directories into a single zip file

2010-06-02 Thread John W. Krahn
Chap Harrison wrote: Well, I suppose I've missed a subtlety along the way here. I have two directories: /path/to/existing/directory/foo/ /path/to/existing/directory/bar/ And I want to archive these two directories into a zip file named archive.zip. Here's what I did, using the s

Using Archive::Zip to compress two directories into a single zip file

2010-06-02 Thread Chap Harrison
Well, I suppose I've missed a subtlety along the way here. I have two directories: /path/to/existing/directory/foo/ /path/to/existing/directory/bar/ And I want to archive these two directories into a zip file named archive.zip. Here's what I did, using the synopsis of Archive::Zip

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::

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::

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

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,

Archive::Zip library on Solaris

2010-01-25 Thread Bruno
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

Re: Please remove all references in mail archive

2010-01-07 Thread fudmer rieley
e presence of the BGFL stuff from my browsers and computers I would appreciate posting the removal technology, please! --- On Wed, 1/6/10, jay taylor wrote: > From: jay taylor > Subject: Please remove all references in mail archive > To: beginners@perl.org > Date: Wednesday, Jan

Re: Please remove all references in mail archive

2010-01-06 Thread Shawn H Corey
jm wrote: > > if this person really believes he has any expectation of privacy regarding > any aspect of the internet, then i have some prime swampland in the sahara > i'd love to sell him > > > good luck with that Please don't feed the trolls. -- Just my 0.0002 million dollars worth,

Re: Please remove all references in mail archive

2010-01-06 Thread jm
if this person really believes he has any expectation of privacy regarding any aspect of the internet, then i have some prime swampland in the sahara i'd love to sell him good luck with that On Tue, Jan 5, 2010 at 11:16 PM, jay taylor wrote: > Hello, > I am reggie kogulan. > > Please remove

Please remove all references in mail archive

2010-01-06 Thread jay taylor
Hello, I am reggie kogulan.   Please remove all references in beginners.perl.org. Back in 2003, I was subscribing to this list and I stopped it. I did post many messages. I want them to be removed. Because, I did not have idea, you will be posting everything on the internet. Google is able to

Re: CGI meets Archive::Zip

2007-12-10 Thread Gunnar Hjalmarsson
Tim Bowden wrote: On Mon, 2007-12-10 at 10:16 +0100, Gunnar Hjalmarsson wrote: It may be easier to do it in two steps: 1. Upload and save the zip file to disk without Archive::Zip 2. Manipulate the file to your liking That was my first approach, and it works fine (manipulating the zip file on

Re: CGI meets Archive::Zip

2007-12-10 Thread Tim Bowden
Can anyone please point me in the right direction? > > It may be easier to do it in two steps: > 1. Upload and save the zip file to disk without Archive::Zip > 2. Manipulate the file to your liking That was my first approach, and it works fine (manipulating the zip file on disk usin

Re: CGI meets Archive::Zip

2007-12-10 Thread Gunnar Hjalmarsson
rise!) It creates an empty file with the correct name, but then dies. It also won't work using #!/usr/bin/perl -wT, but I haven't tried to sort that yet. Can anyone please point me in the right direction? It may be easier to do it in two steps: 1. Upload and save the zip file to disk wi

CGI meets Archive::Zip

2007-12-09 Thread Tim Bowden
qw /open mkdir chdir /; use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use Archive::Zip qw( :ERROR_CODES ) ; my @results; my $working_dir = "/usr/local/example"; my $upload = new CGI; # form INPUT fields expected: # TYPE="file" NAME="zip_file" my $upload_hash

Re: File Size Limit in Archive::Perl

2007-11-10 Thread Rob Dixon
San wrote: Is there any way to limit the file size while zipping using Archive::Zip so that it will stop processing a zip operation on a file list when it crosses the maximum file size. Hey San Unfortunately Archive::Zip requires that an archive be written to disk before the compression is

File Size Limit in Archive::Perl

2007-11-10 Thread San
Hi All, Is there any way to limit the file size while zipping using Archive::Zip so that it will stop processing a zip operation on a file list when it crosses the maximum file size. Thanks in advance. -A -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Usage of PAR (Perl ARchive Toolkit)

2006-11-30 Thread Dharshana Eswaran
Hi all, I am trying to generate an exe file from few perl programs. I have 4 files which are main.pl, subroutine1.pl, subroutine2.pl and subroutine3.pl. main.pl file is the main program and it depends on the other subroutine files for data. So i tried zipping it using winzip and ran pp -o fol

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 ar

Re: Archive::Zip and hash issues

2006-09-14 Thread Derek B. Smith
; > sub zipit { > > Huh? Is zipit a sub inside a sub? > > I'm sure there are more bugs, but I hope this will > get you a little > closer to a valid solution. Cheers! > > --Tom Phoenix > Stonehenge Perl Training > zipit is not a sub inside a sub...must of forgot

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

Archive::Zip and hash issues

2006-09-14 Thread Derek B. Smith
va\-susvc' => 24, 'bpjava\-usvc'=> 25, ) Finally I have created a subroutine called zipit that uses Archive::Zip. I need to pass into this routine all the absolute path names (which includes the file 2 b zipped), but I am getting the raw hash data returned. archive zip ca

Re: Archive Zip

2006-09-12 Thread Derek B. Smith
h 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 > compress the da

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

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 run

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::Z

Archive Zip

2006-09-11 Thread Derek B. Smith
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. How do I use archive zip to simply zip files so that they are generally smaller in size? thank you derek #!/usr

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

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

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

Archive

2005-12-02 Thread Brent Clark
Hi Anyone know if theres an archive link for this mailing list. Kind Regards Brent Clark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

IO::Scalar and Archive::Zip

2005-07-24 Thread Gerhard Meier
Hi, I want to fetch a zip file from the net with LWP::UserAgent and then use Archive::Zip to manipulate it. But I don't want to store the zip file on the disk (if possible). This is where IO::Scalar came in. But it seems that Archive::Zip doesn't work together with IO::Scalar. Here

Help with Archive::Zip

2004-09-30 Thread dennis . gray
I have had limited success with using this package but do need some help. Here is my problem: I have a directory containing thousands of .zip files, each with a single text file. The archive files have the name in the format IMBFILE.zip, where is a sequence number. The

Re: Problem installing Archive::Tar

2004-08-19 Thread Randy W. Sims
Ronald Nutter wrote: I am trying to install this module for use with a spamassassin server. Using Perl 5.8.3 on Fedora Core 2. Getting the following error when I either try to install the module through CPAN or downloading the tar and doing it the old fashioned way. Would appreciate any suggestio

Problem installing Archive::Tar

2004-08-19 Thread Ronald Nutter
problem. I am new to linux but am trying to learn. Thanks, Ron cpan> install Archive::Tar CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 18 Aug 2004 14:05:04 GMT Running install for module Archive::Tar Running make for K/KA/KANE/Archive-Tar-1

Problem with Archive::Tar module

2004-08-19 Thread Ronald Nutter
problem. I am new to linux but am trying to learn. Thanks, Ron cpan> install Archive::Tar CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 18 Aug 2004 14:05:04 GMT Running install for module Archive::Tar Running make for K/KA/KANE/Archive-Tar-1

Re: Move file from one zip to another using Archive::Zip

2004-05-19 Thread Wiggins d Anconia
> Hola, > > How do I remove a file from a zip file and add it to a different existing archive? From the Archive_Zip documentation I understand that I'm clobbering the existing archives when i use the code below. How do I not clobber them? > > thank you. > &

Move file from one zip to another using Archive::Zip

2004-05-19 Thread carl
Hola, How do I remove a file from a zip file and add it to a different existing archive? From the Archive_Zip documentation I understand that I'm clobbering the existing archives when i use the code below. How do I not clobber them? thank you. use Archive::Zip qw( :ERROR_CODES :CONS

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 perf

Archive::TAR with better performance ?

2004-03-10 Thread EUROSPACE SZARINDAR
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 perl ? Thanks in

Re: Recursive Archive::Tar?

2004-02-27 Thread R. Joseph Newton
Jas wrote: > Not sure if this is the way it is supposed to work, but I am not sure > how I can get a directory, like a web directory backed up in one step > using Archive::Tar. > > Code... > > #!/usr/bin/perl > > use strict; > use Archive::Tar; > > my $bu = A

Re: Recursive Archive::Tar?

2004-02-27 Thread david
Jas wrote: > Not sure if this is the way it is supposed to work, but I am not sure > how I can get a directory, like a web directory backed up in one step > using Archive::Tar. > > Code... > > #!/usr/bin/perl > > use strict; > use Archive::Tar; > > m

Recursive Archive::Tar?

2004-02-26 Thread Jas
Not sure if this is the way it is supposed to work, but I am not sure how I can get a directory, like a web directory backed up in one step using Archive::Tar. Code... #!/usr/bin/perl use strict; use Archive::Tar; my $bu = Archive::Tar->create_archive("www.tar",0,glob(

Re: Recursive Archive::Tar?

2004-02-26 Thread Rob Dixon
Jas wrote: > > Not sure if this is the way it is supposed to work, but I am not sure > how I can get a directory, like a web directory backed up in one step > using Archive::Tar. > > Code... > > #!/usr/bin/perl > > use strict; > use Archive::Tar; > > my $bu

Re: Archiving folder containing folders (was - RE: Using archive::tar for archiving a folder)

2004-02-11 Thread Randy W. Sims
On 02/11/04 06:39, Thind, Aman wrote: Thanks for the response David. When I do 'Archive::Tar->create_archive("/tmp/test.tar",0,glob("*.pl"))' it tars all the .pl files in the current working directory. However, I need to tar a folder which has many folders

Archiving folder containing folders (was - RE: Using archive::tar for archiving a folder)

2004-02-11 Thread Thind, Aman
Thanks for the response David. When I do 'Archive::Tar->create_archive("/tmp/test.tar",0,glob("*.pl"))' it tars all the .pl files in the current working directory. However, I need to tar a folder which has many folders inside it. I tried 'Archive::Tar-

Re: Using archive::tar for archiving a folder

2004-02-10 Thread david
Aman Thind wrote: > Hello Friends, > > I wish to archive a folder into a .tar > > I've been searching through the documentation of archive::tar module but > could not find a way by which I could make the .tar just by specifying the > folder name (like on unix prom

Using archive::tar for archiving a folder

2004-02-10 Thread Thind, Aman
Hello Friends, I wish to archive a folder into a .tar I've been searching through the documentation of archive::tar module but could not find a way by which I could make the .tar just by specifying the folder name (like on unix prompt "tar -cvf myarchive.tar myfoldername") and

Re: Need to extract an Installshield archive

2003-11-21 Thread Andrew Gaffney
Rajesh Dorairajan wrote: Yes. I am able to open the archive using Winzip. However, my $zip = Archive::Zip->new(); my $status = $zip->read( $archive ); return ( -1 ) if $status != AZ_OK; fails with the message below. Is there another module that can extract the a

RE: Need to extract an Installshield archive

2003-11-21 Thread Rajesh Dorairajan
Yes. I am able to open the archive using Winzip. However, my $zip = Archive::Zip->new(); my $status = $zip->read( $archive ); return ( -1 ) if $status != AZ_OK; fails with the message below. Is there another module that can extract the archive? Thanks

Re: Need to extract an Installshield archive

2003-11-21 Thread Andrew Gaffney
Rajesh Dorairajan wrote: Hello, I've an archive (.exe) generated by Installshield that contains the distribution. I need to extract it to a temporary location and execute the setup.exe from the Bundle. I tried Archive::Zip, but it bombed with the message "format error: can't find

Need to extract an Installshield archive

2003-11-21 Thread Rajesh Dorairajan
Hello, I've an archive (.exe) generated by Installshield that contains the distribution. I need to extract it to a temporary location and execute the setup.exe from the Bundle. I tried Archive::Zip, but it bombed with the message "format error: can't find EOCD signature

Archive::Tar a directory?

2003-11-05 Thread chad kellerman
Hello, I am writing a program that backups up databases. I am having trouble tarring up the directories. Tarring files using Archive::Tar is pretty straight forward, but tarring directories, I am having issues: here is part of the code.. $datadir = "/var/lib/mysql/"; $db

Re: Searchable Archive

2003-09-06 Thread James Edward Gray II
On Saturday, September 6, 2003, at 10:19 PM, Paul Kraus wrote: Is there a searchable archive of this list? http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=perl.beginners James -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Searchable Archive

2003-09-06 Thread Paul Kraus
Is there a searchable archive of this list? -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: data recovery ext3 (was RE: Recover zip file via Archive::Zip)

2003-08-14 Thread Tassilo von Parseval
On Thu, Aug 07, 2003 at 03:09:06PM -0400 West, William M wrote: > >While I'm still off topic and speaking of data recovery, has anyone > >every recovered data from a ext3 filesystem after all utilities have > >been tried to repair them? I've tried all the utilities off of > >freshmeat.net and not

OT: Recover zip file via Archive::Zip

2003-08-14 Thread K Old
Hello everyone, I saw the discussion on Archive::Zip and wondered if anyone could help me out. I have a zip file that seems to be corrupted and I'm trying to get the data out of it. It's a 2GB file. I tried to run the extract.pl from Archive::Zip and it fails with the error below.

data recovery ext3 (was RE: Recover zip file via Archive::Zip)

2003-08-14 Thread West, William M
> >Hello everyone, __snipped stuff to do with zipped files___ >While I'm still off topic and speaking of data recovery, has anyone >every recovered data from a ext3 filesystem after all utilities have >been tried to repair them? I've tried all the utilities off of >freshmeat.net and nothing wor

RE: Archive::Zip funnny return status

2003-08-14 Thread Dan Muey
> So if zero means it worked what means it failed\how can I > tell if $rc means 1 or 0 in the traditional sense given the > Archive::Zip module's strange return values? > > my $rc = $member->extractToFileNamed($unzippedfile); > Ok here's what I've found. I

data recovery ext3 (was RE: Recover zip file via Archive::Zip)

2003-08-14 Thread West, William M
>While I'm still off topic and speaking of data recovery, has anyone >every recovered data from a ext3 filesystem after all utilities have >been tried to repair them? I've tried all the utilities off of >freshmeat.net and nothing works. I've got bad blocks and i-nodes. Any >suggestions are wel

RE: Archive::Zip funnny return status

2003-08-10 Thread wiggins
> > starnge that it was using numeric operators. I switched to a > > regex because I kept getting a "non digit used with numeric > > operator" with use strict. > > > > So if zero means it worked what means it failed\how can I > > tel

RE: data recovery ext3 (was RE: Recover zip file via Archive::Zi p)

2003-08-08 Thread West, William M
>From: Tassilo von Parseval [mailto:[EMAIL PROTECTED] >Subject: Re: data recovery ext3 (was RE: Recover zip file via Archive::Zip) > >On Thu, Aug 07, 2003 at 03:09:06PM -0400 West, William M wrote: >> >> i am not sure what all the components do anymore- i did not docume

RE: data recovery ext3 (was RE: Recover zip file via Archive::Zi p)

2003-08-08 Thread West, William M
>> now that i've looked at it, it's really for getting to files that are >> unlinked etc. so i am not sure it will do you any good. > >Partly it might. The only problem with your script is that it cannot >deal with data that is spanning more than 12 inodes (those were usually >not in one block

RE: Archive::Zip funnny return status

2003-08-06 Thread Dan Muey
I tell if $rc means 1 or 0 in the traditional sense given the Archive::Zip module's strange return values? my $rc = $member->extractToFileNamed($unzippedfile); > use Archive::Zip; > ... > my $member = $zip->memberNamed($zippedfile); > my $rc = $memb

RE: Archive::Zip funnny return status

2003-08-06 Thread Tim Johnson
If you do a "perldoc Archive::Zip" (I would print out a hard copy of the result, it's pretty long), you should get all of the error codes, methods, etc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 9:44 AM To: Dan

RE: Archive::Zip funnny return status

2003-08-05 Thread Tim Johnson
tatus. -Original Message- From: Dan Muey [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 2:32 PM To: [EMAIL PROTECTED] Subject: Archive::Zip funnny return status use Archive::Zip; ... my $member = $zip->memberNamed($zippedfile); my $rc = $member->extract

Archive::Zip funnny return status

2003-08-05 Thread Dan Muey
use Archive::Zip; ... my $member = $zip->memberNamed($zippedfile); my $rc = $member->extractToFileNamed($unzippedfile); if($rc =~ m/AZ_OK/) { print "ok -$rc-\n; } else { print "Bad -$rc-\n"; } The code above *always* prints: Bab -0-

Re: Searchable archive for this list?

2003-03-10 Thread Wiggins d'Anconia
Does anyone know of a searchable archive for the [EMAIL PROTECTED] list? The archives I've located don't seem to be searchable... Although this list does not appear to make the cut yet, I found the following useful for other various perl and non-perl lists in the p

Re: Searchable archive for this list?

2003-03-10 Thread Casey West
It was Monday, March 10, 2003 when Kevin Old took the soap box, saying: : Rob, : : : : > I still do not understand why the person who put together the archives : > site you originally mentioned did not see fit either to make it : > searchable or to mention the newsgroup names. : > : : Correcti

Re: Searchable archive for this list?

2003-03-10 Thread Kevin Old
Rob, > I still do not understand why the person who put together the archives > site you originally mentioned did not see fit either to make it > searchable or to mention the newsgroup names. > Correction. They did. There is a link on the http://lists.perl.org/showlist.cgi?name=beginners pag

Re: Searchable archive for this list?

2003-03-10 Thread Rob Richardson
nners.cgi. I still do not understand why the person who put together the archives site you originally mentioned did not see fit either to make it searchable or to mention the newsgroup names. RobR --- Kevin Old <[EMAIL PROTECTED]> wrote: > Example of using groups.google.com to sear

Re: Searchable archive for this list?

2003-03-10 Thread Kevin Old
HTH, Kevin On Mon, 2003-03-10 at 10:31, Deb wrote: > Does anyone know of a searchable archive for the [EMAIL PROTECTED] list? > > The archives I've located don't seem to be searchable... > > Thanks, > d -- Kevin Old <[EMAIL PROTECTED]> -- To unsubscribe, e-

Re: Searchable archive for this list?

2003-03-10 Thread mel awaisi
Please tell me if you do find one? Regards, Mel From: Deb <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Perl List <[EMAIL PROTECTED]> Subject: Searchable archive for this list? Date: Mon, 10 Mar 2003 07:31:04 -0800 Does anyone know of a searchable archive for the [EMA

Searchable archive for this list?

2003-03-10 Thread Deb
Does anyone know of a searchable archive for the [EMAIL PROTECTED] list? The archives I've located don't seem to be searchable... Thanks, d -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Archive Logs

2002-12-28 Thread Rob Dixon
to work in a Linux system but not on a Windows 2000 > Server. > Could you folks please review the code between Archive Logs Report and > exit 0; > I just gave up and put in the code that works in a shell script. > > Thanks for your help. > ---

Archive Logs

2002-12-28 Thread Tim Martin
Hi Folks Need help in getting the code to work in a Win32 perl system. I was able to get it to work in a Linux system but not on a Windows 2000 Server. Could you folks please review the code between Archive Logs Report and exit 0; I just gave up and put in the code that works in a shell script

Re: Archive::Tar problems....

2002-12-14 Thread Dr. Poo
s Tip-Top... Sorry for the false alarm. (hopefully this isn't a double false alarm.. but i'll be sure to let everyone know!! hehe) Thanks for listening! -Chris On Saturday 14 December 2002 08:01 pm, Dr. Poo wrote: > My name is Chris, HI! > > I'm work

Archive::Tar problems....

2002-12-14 Thread Dr. Poo
My name is Chris, HI! I'm working on a backup application... and i'm using your Archive::Tar perl module (version .22). My question to you is, how can i "flush" the in memory archive after it has reached a certain condition...say like a certain size.

RE: Searchable archive?

2002-12-12 Thread Mystik Gotan
[EMAIL PROTECTED] Subject: RE: Searchable archive? Date: Wed, 11 Dec 2002 13:05:57 -0800 (PST) Mystik, Thanks, but that's not what I'm looking for. That's the first archive of this group I found. You can get a list of threads or a list of postings arranged by date, but I

Re: Searchable archive?

2002-12-11 Thread John W. Krahn
Rob Richardson wrote: > > Thanks, but that's not what I'm looking for. That's the first archive > of this group I found. You can get a list of threads or a list of > postings arranged by date, but I don't see a way to type in, say, > "regular expres

RE: Searchable archive?

2002-12-11 Thread Rob Richardson
Mystik, Thanks, but that's not what I'm looking for. That's the first archive of this group I found. You can get a list of threads or a list of postings arranged by date, but I don't see a way to type in, say, "regular expression" and get back all of the posts th

  1   2   >