Re: Using built in Grep

2004-11-25 Thread Chance Ervin
- Original Message - From: "FlashMX" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 25, 2004 8:31 AM Subject: re: Using built in Grep > > I need to search for a certain string in a datafile and execute some other code if a match is found. > > Do I have to read in the

RE: Write stdout to a file as well as stdout

2005-01-11 Thread Chance Ervin
why not just re-direct from the command line if all output is needed? perl.program > output.file -- - InteleNet Communications Inc. "Help me help you." Chance Ervin - SCSA -- Jerry Maguire Oracle Certified Profess

RE: PERL with grep

2005-01-19 Thread Chance Ervin
Where's the code you'ce tried so far? -- - InteleNet Communications Inc. "Help me help you." Chance Ervin - SCSA -- Jerry Maguire Oracle Certified Professional Systems Engineer From

RE: modification and inode change times

2004-03-20 Thread Chance Ervin
http://sourceforge.net/projects/filewatch/ This does what your looking for and much more. It will tell you what changes inside the file have taken place. - InteleNet Communications Inc. "Help me help you." Chance Ervin - SCSA

RE: Assistance with Parsing Code

2004-03-20 Thread Chance Ervin
subject, }) or die "Cannot open: $!\n"; print $mailer @log_content; $mailer->close(); } - InteleNet Communications Inc. "Help me help you." Chance Ervin - SCSA --Jerry Maguire Oracle Ce

Opening files to read, write, etc

2004-03-20 Thread Chance Ervin
Forgot to change the subject on the last email. My apologies. -Original Message- From: Chance Ervin Sent: Saturday, March 20, 2004 7:14 PM To: [EMAIL PROTECTED] Subject: RE: Assistance with Parsing Code I am trying to open a file, and read the contents, but every execution gives me an

Help with Search and Replace

2004-03-21 Thread Chance Ervin
;Help me help you." Chance Ervin - SCSA --Jerry Maguire Oracle Certified Professional Supervisor of Network Operations -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Incrementing count

2004-03-29 Thread Chance Ervin
> > I know this is probably simple, but how would I increment by 20? In other > words, $counter would increment 1 time for every twenty lines of the file? Any > help would be appreciated. > while () { $counter=$counter +20; } -- - InteleNet Commun

Re: Project Advice Wanted

2004-03-30 Thread Chance Ervin
Save yourself a lot of headache, and use RT: http://www.bestpractical.com -- - InteleNet Communications Inc. "Help me help you." Chance Ervin - SCSA -- Jerry Maguire Oracle Certified Professional Operations Supervisor

Re: Project Advice Wanted

2004-03-30 Thread Chance Ervin
Save yourself a lot of headache, and use RT: http://www.bestpractical.com -- - InteleNet Communications Inc. "Help me help you." Chance Ervin - SCSA -- Jerry Maguire Oracle Certified Professional Operations Supervisor

Who is running my program?

2004-04-10 Thread Chance Ervin
I am writing a perl program to access client information for reading, writing, and updating. I only want superuser to be able to do the writes and updates, though, while all other accepted gpg users can read the information. Is there an easy way to check which user is running your scripts? Thank

Scanning and email log files

2004-04-17 Thread Chance Ervin
Communications Inc. "Help me help you." Chance Ervin - SCSA -- Jerry Maguire Oracle Certified Professional Operations Supervisor -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <ht

Re: (OS=winxp) system cmd dies but performs the command

2004-04-18 Thread Chance Ervin
Looks like your slashes are pointed the wrong way. Forward=unix Back=dos --Chance - Original Message - From: "Harry Putnam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 18, 2004 6:41 PM Subject: (OS=winxp) system cmd dies but performs the command > I'm not used to wr

Re: help with reading file script | Help !!

2007-10-19 Thread Chance Ervin
You may want to consider using a mod for the mailer. I usually use Mail::Mailer for a task such as this. use strict; use warnings; Good practice. Chance Ervin Senior Systems Engineer Intelenet Communications NOC 949 784-7911 [EMAIL PROTECTED] On Fri, 19 Oct 2007 14:14:44

RE: Need a list of files in a dir.

2005-08-26 Thread Chance Ervin
-Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 9:40 AM To: Daniel Kurtz; beginners@perl.org Subject: Re: Need a list of files in a dir. Daniel Kurtz wrote: > Ooh ooh ooh! One I know! > > open(COMMAND, "dir |"); > @files = ; Please tell m