Re: Automatied downloads

2006-10-14 Thread Mumia W.
On 10/14/2006 02:57 PM, Mike Blezien wrote: Hello, - Original Message - From: "Mumia W." <[EMAIL PROTECTED]> To: "Beginners List" Sent: Saturday, October 14, 2006 12:09 PM Subject: Re: Automatied downloads On 10/14/2006 06:05 AM, Mike Blezien wrote: Hello, Hello [ php script s

Re: nice regular expression

2006-10-14 Thread I . B .
1. one of the purposes of scripting languages is creating prototype. 2. as i explained before my job is to create this perl regular expression. Which will be used in xml file. I dont care about clients apps, they can be written on any language. I use perl. 3. also i greatly appreciate help of this

Re: Automatied downloads

2006-10-14 Thread Mike Blezien
Hello, - Original Message - From: "Mumia W." <[EMAIL PROTECTED]> To: "Beginners List" Sent: Saturday, October 14, 2006 12:09 PM Subject: Re: Automatied downloads On 10/14/2006 06:05 AM, Mike Blezien wrote: Hello, Hello [ php script snipped ]

Re: if you use a module does this happen?

2006-10-14 Thread Mumia W.
On 10/14/2006 12:03 PM, Jesse Engel wrote: [...] when i would call $ftp->rget() i would get an error that said basically there is no rget method with net::ftp. so my question is this: by using net::ftp::recursive, do you get all of the methods [...] Read the documentation for Net::FTP::Recur

Re: Automatied downloads

2006-10-14 Thread Mumia W.
On 10/14/2006 06:05 AM, Mike Blezien wrote: Hello, Hello [ php script snipped ] ### I've been trying to convert this to a Perl script with not much luck. Was hoping to get some tips on how to convert this to Perl or a similar met

Re: if you use a module does this happen?

2006-10-14 Thread lawrence
There was one e.e. cummings in the world. You're not him. Use mixed case. Whitespace is our friend. > I was using Net::FTP to do something, and it wasn't working because > I couldn't get a recursive listing of the files I wanted to > download, like you would with File::Find. Well, I found >

Re: nice regular expression

2006-10-14 Thread Randal L. Schwartz
> "I" == I B <[EMAIL PROTECTED]> writes: I> unfortunately I have to use regex to solve this problem. Why? Is this homework? Or is this a Java question in disguise? Either of those are rude, having conned people into helping you for false pretenses. -- Randal L. Schwartz - Stonehenge Consu

Re: if you use a module does this happen?

2006-10-14 Thread Tom Phoenix
On 10/14/06, Jesse Engel <[EMAIL PROTECTED]> wrote: by using net::ftp::recursive, do you get all of the methods (not really comfortable with oo programming yet so i hope i stated that right) included with net::ftp? It's not the case generally that loading module Foo::Bar::Baz also loads Foo::B

if you use a module does this happen?

2006-10-14 Thread Jesse Engel
i was using net::ftp to do something, and it wasn't working because i couldn't get a recursive listing of the files i wanted to download, like you would with file::find. well, i found net::ftp::recursive and that did the trick, but after i installed it and changed my use net::ftp to use::net::ft

Profiling threaded apps

2006-10-14 Thread Robin Sheat
That program I was talking about the other day, well, I've made it multithreaded to gain the benefit of my dual-core machine, however now I can't run the profiler with it. This happens: $ perl -d:DProf scr/analyse.pl -m scr/user_mean.pm panic: Devel::DProf inconsistent subroutine return at /usr/

Re: READ TEXT FILE AND SET EACH LINE AS ENV VARIABLE.

2006-10-14 Thread perl pra
thanks a lot . it works.. --perlpra On 10/14/06, Dr.Ruud <[EMAIL PROTECTED]> wrote: "perl pra" schreef: > Subject: READ TEXT FILE AND SET EACH LINE AS ENV VARIABLE. Don't shout. > Is there any other way of using the values in text file as varibales > in perl script. Use a hash. See Uri

Re: READ TEXT FILE AND SET EACH LINE AS ENV VARIABLE.

2006-10-14 Thread Dr.Ruud
"perl pra" schreef: > Subject: READ TEXT FILE AND SET EACH LINE AS ENV VARIABLE. Don't shout. > Is there any other way of using the values in text file as varibales > in perl script. Use a hash. See Uri Guttman's reply of yesterday in the "read from a file and create a hash" thread on clpm. ne

Automatied downloads

2006-10-14 Thread Mike Blezien
Hello, I have a PHP script that automatically downloads a file from a hyper link: down load here CODE: //* path to download folder *// $filedir = '../temp/'; $filename = basename($_GET['file']); $path = $filedir . $filename; if (!is_fil

Fwd: READ TEXT FILE AND SET EACH LINE AS ENV VARIABLE.

2006-10-14 Thread perl pra
hi ALL, I am new to perl and I need some help from you guys, I have text file which looks like following(its about 100 lines) OUTPUTDIR=C:\Project\Module\outputdir INPUTDIR=C:\Project\Module\Inputdir Now I have to use each and every line of the text file in my perlscript as command line argum

READ TEXT FILE AND SET EACH LINE AS ENV VARIABLE.

2006-10-14 Thread perl pra
hi ALL, I am new to perl and I need some help from you guys, I have text file which looks like following(its about 100 lines) OUTPUTDIR=C:\Project\Module\outputdir INPUTDIR=C:\Project\Module\Inputdir Now I have to use each and every line of the text file in my perlscript as command line argum