RE: is possible start some actions with Perl without Cron?

2004-08-20 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Maxipoint Rep Office wrote: > Have you some useful URL about that? > Not really. You should look at CPAN for daemon or background processing. Then you just need to understand the Perl necessary to get what you want done. Obviously easier said than done, but layout what you want to do, th

RE: is possible start some actions with Perl without Cron?

2004-08-20 Thread Maxipoint Rep Office
Have you some useful URL about that? -Original Message- From: Wagner, David --- Senior Programmer Analyst --- WGO [mailto:[EMAIL PROTECTED] Sent: Saturday, August 21, 2004 1:07 AM To: Maxipoint Rep Office; [EMAIL PROTECTED] Subject: RE: is possible start some actions with Perl without Cro

RE: is possible start some actions with Perl without Cron?

2004-08-20 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Maxipoint Rep Office wrote: > is possible start some actions with Perl without Cron? > > for example send email to users from database after 3 days or delete > something from database automaticaly after 3 day with Perl but > without Cron? Yes. You would write the Perl as a daemon and have

Re: is possible start some actions with Perl without Cron?

2004-08-20 Thread Gunnar Hjalmarsson
Maxipoint Rep Office wrote (also to comp.lang.perl.misc): is possible start some actions with Perl without Cron? Do not multi-post! http://www.uwasa.fi/~ts/http/crospost.html -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

is possible start some actions with Perl without Cron?

2004-08-20 Thread Maxipoint Rep Office
is possible start some actions with Perl without Cron? for example send email to users from database after 3 days or delete something from database automaticaly after 3 day with Perl but without Cron? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Getting info from website search.

2004-08-20 Thread perlwannabe
OK, I know my subject is not the best, but I couldn't think of anything better. Here is my situation: There is a website that allows you to search a database by Name or Number. Once you search by name it will provide all kinds of information (including dates) for the search parameters. I want t

Re: multiplexing Net::DNS::Nameserver

2004-08-20 Thread Chris Devers
On Fri, 20 Aug 2004, Jeremy Kister wrote: Is there a more advanced Perl list than perl-beginners, where someone may have hints? I've browsed lists.perl.org but found nothing appropriate. There's no "perl-intermediate" that I know of, if that's what you mean. More often, I'd assume people start lo

Re: multiplexing Net::DNS::Nameserver

2004-08-20 Thread Jeremy Kister
On Friday, August 20, 2004 3:50 PM, Wiggins d Anconia wrote: > confused about or are attempting to do. IO::Multiplex works at a > lowlevel on filehandles, specifically sockets. Net::DNS::Nameserver is > designed to be a high-level all inclusive server, aka you don't really > have access to the soc

RE: multiplexing Net::DNS::Nameserver

2004-08-20 Thread Bob Showalter
Jeremy Kister wrote: > On Wednesday, August 18, 2004 5:56 PM, I wrote: > > can anyone give me a clue as to how to use IO::Multiplex on top of > > Net::DNS::Nameserver? > > Is there a more advanced Perl list than perl-beginners, where someone > may have hints? perlmonks is good, as Wiggins said.

Re: multiplexing Net::DNS::Nameserver

2004-08-20 Thread Wiggins d Anconia
> On Wednesday, August 18, 2004 5:56 PM, I wrote: > > can anyone give me a clue as to how to use IO::Multiplex on top of > > Net::DNS::Nameserver? > > Is there a more advanced Perl list than perl-beginners, where someone may > have hints? > You could try perlmonks.org... > I've browsed lists.pe

Re: multiplexing Net::DNS::Nameserver

2004-08-20 Thread Jeremy Kister
On Wednesday, August 18, 2004 5:56 PM, I wrote: > can anyone give me a clue as to how to use IO::Multiplex on top of > Net::DNS::Nameserver? Is there a more advanced Perl list than perl-beginners, where someone may have hints? I've browsed lists.perl.org but found nothing appropriate. Jeremy Kis

RE: Problems with a socket script

2004-08-20 Thread Jeff 'japhy' Pinyan
On Aug 20, Dave Kettmann said: >What I am wanting to do, is from a webpage, run a tail command on another >machine to read x amount of lines from a log file and print it on a web >page. Ok. Then what you do is you set up a listening socket on the server with the log file: use IO::Socket; my

Re: cgi modules

2004-08-20 Thread Wiggins d Anconia
> > All, > I want to use a web interface for certain functions such as displaying > process results and data from programs. What module should I use? I > noticed CGI::Safe, CGI::Base, and CGI that stood out to me??? Note that there is a [EMAIL PROTECTED] list as well. CGI::Safe is really j

RE: Problems with a socket script

2004-08-20 Thread Dave Kettmann
Ok, so I guess first off, I was confused about sockets. Maybe I need to start over and rethink how to do this. What I am wanting to do, is from a webpage, run a tail command on another machine to read x amount of lines from a log file and print it on a web page. I thought the 'best' way would b

Re: Problems with a socket script

2004-08-20 Thread Jeff 'japhy' Pinyan
On Aug 20, Dave Kettmann said: >I am writing a socket script so I can pull a log file thru a web page. >For right now, Im just trying to get it to work from a shell. I have >gotten it to where the client sends information to the server, but this >should work the other way. When I try to get the se

Problems with a socket script

2004-08-20 Thread Dave Kettmann
Hi all, I am writing a socket script so I can pull a log file thru a web page. For right now, Im just trying to get it to work from a shell. I have gotten it to where the client sends information to the server, but this should work the other way. When I try to get the server to write to the cli

Re: Processing Qmail Smtp session Log

2004-08-20 Thread Gunnar Hjalmarsson
BadApple wrote: Hi Group , You posted the same problem to comp.lang.perl.misc. Doing so is called multi-posting, and is considered rude: http://www.uwasa.fi/~ts/http/crospost.html I just posted a reply to comp.lang.perl.misc, and I'd suggest that possible follow-ups are posted only there. -

RE: Pls Help with a Basic Script.

2004-08-20 Thread Jenda Krynicky
From: "Denham Eva" <[EMAIL PROTECTED]> > Are you just trying to report the ORA-XXX errors in reverse order? If > so, something like this should work: > > my @errs; > while () { > push @errs, $_ if /ORA-/; > } > print reverse @errs; I wanted to ask why do you push the lines

Processing Qmail Smtp session Log

2004-08-20 Thread BadApple
Hi Group , I am trying to process a Qmail Smtp session Log file ( multilog ). The section of the Log file is give below : @40004123d44320c51f3c tcpserver: ok 9198 mailgateway.foo.com:10.10.0.1:25 :20.132.29.1::60433 @40004123d44320c52edc qmail-smtpd 9198: connection from 200.12.239.1 (un

Processing Qmail Smtp Session Log

2004-08-20 Thread Bad Apple
Hi Group , I am trying to process a Qmail Smtp session Log file ( multilog ). The section of the Log file is give below : @40004123d44320c51f3c tcpserver: ok 9198 mailgateway.foo.com:10.10.0.1:25 :20.132.29.1::60433 @40004123d44320c52edc qmail-smtpd 9198: connection from 200.12.239.1 (un

RE: Pls Help with a Basic Script.

2004-08-20 Thread Denham Eva
Thanks Bob, I discovered this when using Mark's suggestion. [snip] You haven't read a row from SITELOG. So the regex below is checking the row from your SITES file. > > # Check the file for any ORA- entries > > if($_ =~ m/ORA-/) { > > # If it contains records, reverse the file > >

RE: Pls Help with a Basic Script.

2004-08-20 Thread Denham Eva
a) Thanks Mark for this. b) Thanks here again, I'll be using this in the future a lot and yes it is not what I expected, back to the drawing board. -Original Message- From: Anderson, Mark (Service Delivery) [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 12:42 PM To: Denham Eva; [

RE: Pls Help with a Basic Script.

2004-08-20 Thread Bob Showalter
Denham Eva wrote: > Please could the wise folks give me some help. Something is wrong and > I can not find out what. > > When I run this program it returns everything is OK (Suspect a logic > error somewhere), which is not possible as the logs in question do > have data that I require (i.e. ORA-12

RE: Pls Help with a Basic Script.

2004-08-20 Thread Anderson, Mark (Service Delivery)
At the line: if($_ =~ m/ORA-/ ){ a) you don't need the m/ just / b) what are you expecting to be in $_ and have you checked (print stderr "$_";)? Kind regards, Mark Anderson SMS Deployment The Royal Bank of Scotland 113 Dundas Street, Edinburgh, EH3 5DE http://www.manufacturing.rbs.co.uk/GTr

Pls Help with a Basic Script.

2004-08-20 Thread Denham Eva
Please could the wise folks give me some help. Something is wrong and I can not find out what. When I run this program it returns everything is OK (Suspect a logic error somewhere), which is not possible as the logs in question do have data that I require (i.e. ORA-12571: TNS:packet writer failure

Re: DBI for FireBird

2004-08-20 Thread David Dorward
On 20 Aug 2004, at 11:03, Cristi Ocolisan wrote: Can anybody tell me something about a DBI for FireBird? I looked on CPAN, but didn't find any. When I go to the second hit is subtitled "DBI driver for Firebird" (then it goes on to mention In

DBI for FireBird

2004-08-20 Thread Cristi Ocolisan
Hi everybody, Can anybody tell me something about a DBI for FireBird? I looked on CPAN, but didn't find any. _ Cristi Ocolisan