RE: threads in perl

2003-10-11 Thread Igor Ryaboy
Not Exactly, I'll be more specific: I need to open a lot of threads with same name when passing different parameters to each. When inside each thread there is a system call which can take a lot of time. I want that after the system call ends the thread will close itself and remove itself from th

RE: working on time

2003-10-11 Thread perl
It's fair enough to use 86,400 sec in a day. But what about adding days or months? That is, rolling past 28,29,30 or 31 days in a particular month. thanks -rkl --- > I thought of that right after hitting send... > > This may be better if he wants to do a lot of date manipulation down the > road:

Re: Regex apps

2003-10-11 Thread Paul Johnson
On Sat, Oct 11, 2003 at 12:51:14PM +0200, Kevin Pfeiffer wrote: > In article <[EMAIL PROTECTED]>, John W. Krahn wrote: > > > Kevin Old wrote: > >> I've seen several postings over the past few weeks about Regular > >> Expressions and just thought I'd share a couple of tools that I use when > >> bui

Weekly list FAQ posting

2003-10-11 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

Re: behavior of semicolon on return line

2003-10-11 Thread Rob Dixon
John W. Krahn wrote: > [EMAIL PROTECTED] wrote: > > > > Does the semicolon behave any differently for a return test statement? > > > > Example, > > > > sub validate > > { return shift =~ /^[a-zA-Z0-9][\w-]*\.[a-zA-z]+$/ } > > > > or > > > > sub validate > > { return shift =~ /^[a-zA-Z0-9][\w-]*\.[a

Re: NET::FTP problem w/CHMOD

2003-10-11 Thread Wiggins d'Anconia
Rob Dixon wrote: Hi. [EMAIL PROTECTED] wrote: I am trying to use the NET::FTP module to recursively chmod files. Either of these two ways of telling the server to chmod it seem to work: $ftp->command("SITE CHMOD 755 $file"); or $ftp->quot("SITE CHMOD 755 $file"); I've never tried this, but the

Re: Perl Debugger

2003-10-11 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jeff Westman) writes: >Hi, > >I'm using perl version 5.6.1 for Unix (HPUX-11). I would like to be able to >retain my 'watches' and breakpoints in between debug sessions. Is there a >way to do this with the standard debug library that comes with

Re: regex require a period

2003-10-11 Thread Daniel Staal
--On Friday, October 10, 2003 18:21 -0700 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: So, would this be it for the optional? /^[a-zA-Z0-9][\w-]*\.[a-zA-z]+$/ thanks Yep. Though you can always try for yourself... Daniel T. Staal -

Re: NET::FTP problem w/CHMOD

2003-10-11 Thread Rob Dixon
Hi. [EMAIL PROTECTED] wrote: > > I am trying to use the NET::FTP module to recursively chmod files. > Either of these two ways of telling the server to chmod it seem to work: > > $ftp->command("SITE CHMOD 755 $file"); > or > $ftp->quot("SITE CHMOD 755 $file"); I've never tried this, but the POD f

RE: grep argument list too long...how to get around it?

2003-10-11 Thread Darin McBride
Luke Bakken wrote: > Rather than calling > > egrep REGEX really long list of files ... > > they should be calling (ksh here, use "echo" instead of "print" for other > shells): > > print really long list of files | xargs egrep REGEX IMO, they should be using glob and coding the grep themselves

Re: Regex apps

2003-10-11 Thread Kevin Pfeiffer
In article <[EMAIL PROTECTED]>, John W. Krahn wrote: > Kevin Old wrote: >> I've seen several postings over the past few weeks about Regular >> Expressions and just thought I'd share a couple of tools that I use when >> building regular expressions. [...] > Another one - regexEvaluater: Cool. Than

Re: CPAN install failure...

2003-10-11 Thread Owen
On Fri, 10 Oct 2003 12:11:42 -0400 Rick Bragg <[EMAIL PROTECTED]> wrote: > Hi, > > I just tried to install HTML::Parser on my Redhat9 system > and I got the following. > > Should I just force it? if so how is that done... I have just force installed a number of modules and they seem to work ok.

Re: Perl and cron

2003-10-11 Thread Kevin Pfeiffer
In article <[EMAIL PROTECTED]>, Rmck wrote: > Hi and Help, > > I have a perl script (A) that spawns a unix command and pipes that to a > log file. Then at 23:59 I have a perl script (B) that kills script (A). At > midnight script (A) is kicked off. > > My issue is my killing of srcipt (A) is not

test

2003-10-11 Thread JAVEED SAR
Regards javeed **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notifie