Re: perl download a winzip file from URL

2008-09-10 Thread John Mason Jr
How about John David M. Funk wrote: > > Hello List, > > I have a perl script that connects to a website using LWP and pulls > down a csv & pdf file from the URL. Both of these a basically ascii > text files. This has been working fine

Re: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Sisyphus
- Original Message - From: "Brian Raven" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 10, 2008 11:33 PM Subject: RE: Run perl on window using cygwin+Eclipse+EPIC > Sisyphus <> wrote: >> - Original Message - >> From: "Jing LI" <[EMAIL PROTECTED]> . >> . >>> It uses find to

Re: perl download a winzip file from URL

2008-09-10 Thread Sisyphus
- Original Message - From: "David M. Funk" <[EMAIL PROTECTED]> . . > How do I remove the headers or is there a better way to d/l a binary file? Not sure ... I'd try something like (untested): $response = $ua->get("$url"); open COPY, ">", "my_copy.zip" or die $!; binmode(COPY); if ($resp

RE: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Jing LI
Hello all, Thank for all of your replies. I got a clue from your replies, the error must be about Perl environment and the shell environment. According to the document: http://www.perl.com/doc/manual/html/pod/perlrun.html, I added $ENV{PATH} = '/bin:/usr/bin';# or whatever you need $ENV

perl download a winzip file from URL

2008-09-10 Thread David M. Funk
Hello List, I have a perl script that connects to a website using LWP and pulls down a csv & pdf file from the URL. Both of these a basically ascii text files. This has been working fine for quite some time now. Just recently the files are winzip files ".zip". So when I try to d/l them I get

RE: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread David M. Funk
Try /cygdrive/c/cygwin/bin as the path From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jing LI Sent: Tuesday, September 09, 2008 10:45 PM To: perl-win32-users@listserv.ActiveState.com Subject: Run perl on window using cygwin+Eclipse+EPIC I have one Perl script which works whe

Re: Audio::Data

2008-09-10 Thread Mary
Mary wrote: Sisyphus wrote: - Original Message - From: "Mary" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 10, 2008 7:38 AM Subject: Audio::Data Hello everybody, I hope I am posting on the right list. Cygwin list is probably more appropriate for this problem - I see you've

Re: Audio::Data

2008-09-10 Thread Mary
Sisyphus wrote: - Original Message - From: "Mary" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 10, 2008 7:38 AM Subject: Audio::Data Hello everybody, I hope I am posting on the right list. Cygwin list is probably more appropriate for this problem - I see you've also posted

Re: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Chris Wagner
I think what ur asking is why does this work under Cygwin but not under Eclipse? Or vice versa? It all depends on what "shell like thing" the `` command is being filtered through. Cygwin paths and Windows paths are not interchangable. If u run it under Cygwin the paths will be like /c/perl/perl

Re: Referenced data changing

2008-09-10 Thread Chris Wagner
Ohayou. I think what ur asking is why does @code change when u loop over it with foreach, ne? This is because foreach only takes a reference to the list values, it doesn't create a copy. So changing the iterand changes the original value. If u don't want this u have to make ur own copy of the v

RE: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Brian Raven
Sisyphus <> wrote: > - Original Message - > From: "Jing LI" <[EMAIL PROTECTED]> . > . >> It uses find to find a type of file in a directory and its >> subdirectories: >> >> my @jarfiles = split(' ',`find $bin_location -name "*.jar"`); >> >> But when run or debug it in Eclipse, it has err

WG: SOLVED: RE: perl starts very slow using WIN32::OLE

2008-09-10 Thread armin . nolte
Hi , indeed it was a Problem with Libraries on an odd network. A novel Server had been exchanged a few weeks ago (and no one told me so) and I had a .dll written years ago and stored it on the network-drive (... so this seems not to be a good place for Libraries !! ). This dll has nothing to

Re: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Sisyphus
- Original Message - From: "Jing LI" <[EMAIL PROTECTED]> . . > It uses find to find a type of file in a directory and its subdirectories: > > my @jarfiles = split(' ',`find $bin_location -name "*.jar"`); > > But when run or debug it in Eclipse, it has error: > sh: find: No such file or di