Re: ActivePerl problem

2002-05-26 Thread Leila Lappin
Hi Mark, I downloaded ActivePerl yesterday and it seems to work, though I haven't tested any scripts with it yet. I thought it might help to check what was downloaded. I downloaded my copy from http://www.activestate.com/Products/Download/Get.plex?id=ActivePerl&a=e After reading the documentati

Re: ActivePerl problem

2002-05-26 Thread mark
Hi Leila, I am using win2000 and the page you provided a link to says that I don't need any other stuff. Actually, it seemed to have installed fine for me as well. I just have to cd\ into Perl\bin in order to use it. I took a peek a ActiveState's user forum to see if I could get some advice, b

Re: ActivePerl problem

2002-05-26 Thread Tim Musson
Hey mark, My MUA believes you used Microsoft Outlook Express 5.50.4522.1200 to write the following on Sunday, May 26, 2002 at 12:47:39 AM. m> Hi, m> I can't seem to get ActivePerl working on my win2k machine. m> I checked my enviroment variables and found it not there. I edited my ev's m> to

Re: complementing a scalar

2002-05-26 Thread Elias Assmann
On Sat, 25 May 2002, mark wrote: > What is happening here exactly and what precisely does the /c do in this > statement? I've had a couple of answers that I do not understand and thus > far I've been told that /c "complements" the SearchPattern. OK I'm sorry that my original reply didn't help

Re: ActivePerl problem

2002-05-26 Thread mark
> It has always just worked for me... when you drop to a cmd prompt and > type 'path' what do you get? here is what mine looks like > PATH=D:\Perl\bin\;C:\WINNT\system32;C:\WINNT;... > that part for \perl\bin is what you are looking for. When you edited > it (as you say above) where did you ed

Re: complementing a scalar

2002-05-26 Thread mark
"This means: Take all the characters *not* in the SEARCHLIST and look for those." In my case, sometimes the shortest distance between 2 points is a circle. It finally sank in sometime yesterday and in celebration I spent the entire evening and most of the night pouring over perldoc. My problem

cgi script that takes in data then runs script on different host

2002-05-26 Thread Simon K. Chan
Hi All, I've got a cgi form that takes in data. Then, I want the data to be passed to a script that's waiting on a DIFFERENT host. So, say I have this pseudo-code: cgi script on host 1pass $name to host 2 script on host 2 # get $name ---> prin

How do I use grep to get a list of files given multiple grep criteria?

2002-05-26 Thread Schuessler, Robert BTB TKY
Hello, I want to use grep to get a list of files into @files. Here's what it looks like now: $sender = "CHAS"; $asofdate = "20020401"; @files = `grep -sl $sender /home/data/*`; print @files; This gets all the files that contain CHAS, but what I really want is all the files that contain CHAS

Re: How do I use grep to get a list of files given multiple grep criteria?

2002-05-26 Thread bob ackerman
On Sunday, May 26, 2002, at 09:53 PM, Schuessler, Robert BTB TKY wrote: > Hello, > > I want to use grep to get a list of files into @files. Here's what it > looks > like now: > > $sender = "CHAS"; > $asofdate = "20020401"; > > @files = `grep -sl $sender /home/data/*`; > print @files; > > > >

POP3 mail and Attachment

2002-05-26 Thread Shibu
Can anybody help me in writing a script in getting a email with attachment saved into some folder / directory. I have already written a script to receive email but the body are mime encoded. I want to get email with attachment saved in separate folder. Shibu Phone:5341669 Ext:400 -- To uns

Re: How do I use grep to get a list of files given multiple grep criteria?

2002-05-26 Thread John W. Krahn
Robert Btb Tky Schuessler wrote: > > Hello, Hello, > I want to use grep to get a list of files into @files. Here's what it looks > like now: > > $sender = "CHAS"; > $asofdate = "20020401"; > > @files = `grep -sl $sender /home/data/*`; > print @files; > > This gets all the files that contain