RE: Get Script to run same time each day automatically

2002-10-17 Thread Duarte Cordeiro
Hi, If you're running windows use the at command. -- Duarte Manuel Cordeiro Manager - IT - Security & Communications mailto:[EMAIL PROTECTED] | msn: [EMAIL PROTECTED] | http://www.neoris.com/ -- Neoris Portugal Edificio Inovação IV - Sala 819 - Taguspark * 2780-920 Oeiras * Portugal

Re: getting file on STDIN, howto process GLOB

2002-10-17 Thread Robin Cragg
Hi, You should think of a glob as an alias. $input = *STDIN; $file = <$input>; print $file; All that does is alias $input to STDIN, and then read the contents of $input into $file. The main use of this is redirecting your output without having to write loads of extra code R At 13:19 16

consume CPU process

2002-10-17 Thread Admin-Stress
Hi, Anyone can give me example of simple script that can consume cpu resources at certain level? ./consumecpu 50 Then, it will consume 50% of cpu process. I need this script to stress test my machine. Is there any way to do this on perl? I cant figure it out. Thanks, kapot

Re: FW: Regex Help - removing HTML tags/script

2002-10-17 Thread Jenda Krynicky
From: "Jon Shoberg" <[EMAIL PROTECTED]> > I need to remove HTML scripts from some pages. > > I have to replace > > <*script*>* with blanks. This includes all > javascript/vbscript > in between the tags > > I'm using the * as guidelines to show it must match several > va

Re: Join problem

2002-10-17 Thread Dharmender Rai
It may be the case that there is the first value that is not visible that is the value is a null string. Otherwise it should work. --- Vincent Lee <[EMAIL PROTECTED]> wrote: > Hello All, > > I've got a problem with the JOIN function > > I've got a list of columns that gets returned from > the

RE: macros

2002-10-17 Thread Beau E. Cox
Hi - I don't think so... Of course you can write a perl preprocessor in perl... or, what about some open source preprocessor? Aloha => Beau. -Original Message- From: Duarte Cordeiro [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 17, 2002 1:04 AM To: [EMAIL PROTECTED] Subject: macr

RE: How to use a module located relative to the current script

2002-10-17 Thread Reinstein, Shlomo
How do I use Path::To::Module if I don't know Path? -Original Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 5:54 PM To: Reinstein, Shlomo Cc: '[EMAIL PROTECTED]' Subject: Re: How to use a module located relative to the current script u

RE: How to use a module located relative to the current script

2002-10-17 Thread Reinstein, Shlomo
Thanks. But how can I use the solution below in order to use a module? Keep in mind that when I type: use SomeModule; The "use" statement is executed at compile-time, not at run-time. Therefore, if I want to find the location of the current perl script, manipulate it and then use it to loa

Re: Microsoft Access Question

2002-10-17 Thread Cleiton L. Siqueira
Dear, Sorry but, I've forgot to explain that I use PostgreSQL in FreeBSD box and the Microsoft Access database in windows 98 plataform. So, I have a script perl in FreeBSD which connect in PostgreSQL database in FreeBSD box too and I would like that my script perl to connect to Microsoft A

@INC

2002-10-17 Thread David Rainsford
I am trying to run GreyMatter on my Mac OSX machine. However, I get the following error: Can't locate gm-library.cgi in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Netwo