RE: Trying to make a script/ Please help the ignorant????

2001-01-15 Thread Mohammed Sameer
you'll have to change the first line from #!/usr/bin/perl to where ever perl is located for examole i installed perl on my pc in c:\perl so the executable'll be c:\perl\bin\perl.exe so the first line'll be #!c:\perl\bin\perl.exe -- http://galaxy2k.cjb.net http

ENV need help for inheritance of ENV vars

2001-01-15 Thread Quinn, Colleen
Hi Folks, I have wracked my brain on this one...I'm real close & can taste it, but there's something missing. System - NT, activestate build 618 I am attempting to set off some build scripts. First thing to do is set ENV vars so that the following scripts can inherit variables. I am using t

Re: Trying to make a script/ Please help the ignorant????

2001-01-15 Thread Ahmed Albaggari
> I am using windows 98. I am using perl and the following code runs at the > dos prompt. > The file made with note pad. > #!/usr/bin/perl > > print "Content-type:text/html\n\n"; > > print "Test Page\n"; > print "\n"; > print "Hello, world!\n"; > print "\n"; > > I change to the perl directory

Not downloading duplicates from a pop3 server

2001-01-15 Thread Dan White
Hi, im just writing a simple script to SMS message my cell phone when an e-mail arrives and include the subject and first few words... The problem I'm running into is that i dont know how to determine through my script if i'd already downloaded the message before. I'm not deleting the messages fro

Re: get rid of Null result

2001-01-15 Thread Michael D. Schleif
Toddy Prawiraharjo wrote: > > In many occasions, I got NULL value inside my result, and I want to kick > them off the @state list. > What I have to do?? > > I tried before: > unless ($states != " ") {push (@state, $states); As perldata.pod states, ``There are actually two varieties of null str

Substitutions in TextFiles, again, under Win98

2001-01-15 Thread Christophe Lejeune
Hello Since last message, I change my OS. Now I got win98 (but it doesnt change a lot of things for ActivePerl)... I use the following lines to make changes in textfiles (thank you Shawn!!!) I would like to make serial other substitutions instead of only one but it doesn't seem to work What ca

Compressing a file

2001-01-15 Thread Clarke, Barbara P, HRSVC
Hi, I'm trying to compress a regular DAT file to a filenameMMDDYY.Z but looking at Compress::Zlib I'm not understanding it. Does anyone have a simple program of this? Barbara P. Clarke ___ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.A

Trying to make a script/ Please help the ignorant????

2001-01-15 Thread Ken Fair
Hello Group I am using windows 98. I am using perl and the following code runs at the dos prompt. The file made with note pad. #!/usr/bin/perl print "Content-type:text/html\n\n"; print "Test Page\n"; print "\n"; print "Hello, world!\n"; print "\n"; I change to the perl directory perl> perl te

RE: get rid of Null result

2001-01-15 Thread william . meitzen
Title: RE: get rid of Null result How about this: push (@state, $states) if ($states !~ /\s*/); And, as a suggestion: $error=$db -> Sql($stmt); if ($error) {   $db->Close();   print "Error: " . Win32::ODBC::Error() . "\n";   exit; }     -Original Message

FW: OutlookExpress

2001-01-15 Thread Gregory_Griffiths
> -Original Message- > From: Griffiths, Gregory D. /here > Sent: 15 January 2001 14:36 > To: '[EMAIL PROTECTED]' > Subject: RE: OutlookExpress > > > some mail clients have an auto-reply option that will do all of this. > > > -Original Message- > > From: [EMAIL PROTECTED] [mai

OutlookExpress

2001-01-15 Thread Tim Scott
Has anyone managed to get ActivePerl talking to OutlookExpress atall ? I'd like to be able to grab some messages from the inbox which have a particular sender and subject and present an auto-forward message allowing me to manually specify a recipient and a brief note and click 'Send'. At the mo

Acrobat reference

2001-01-15 Thread Tom Laudeman
Can anyone make new OLE objects, aside from MS Office products? This does not work for me, and reports an error: use strict; use Win32::OLE; my $distiller = Win32::OLE->new('PdfDistiller'); print "new-distill error " . Win32::OLE->LastError() . " \n"; Thanks, Tom

Re: New to perl and scripting/HELP PLEASE

2001-01-15 Thread Stephen Patterson
The error 500 occurs when your script does not produce a valid HTML page. Check the apache error.log to get the full error message (or try running your script from the command line). --Original Message-- From: "Gerrit P. Haase" <[EMAIL PROTECTED]> To: "Ken Fair" <[EMAIL PROTECTED]>, "Shaw

crypt limitations

2001-01-15 Thread Fred Colman
Hi, I have been merrily using crypt to encrypt a password file. I discovered tonight that it is only encrypting the first eight characters. Therefore when a user enters a password, and I encrypt it and compare it to the encrypted passwords in the file, only the first eight letters matter. (I