RE: Exec command

2004-01-09 Thread Chris
Try using back slashes instead. - Z:\\bin\\perl.exe l_table.pl Regards, Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SHEIKH Sajjad Sent: Friday, January 09, 2004 10:14 AM To: $Bill Luebkert Cc: [EMAIL PROTECTED] Subject: Exec command I

Re: win32/linux socket communication. (it just wont talk)

2004-01-09 Thread Roger Keane
Jeremy A wrote: Hello all, i am beginning to find linux/windows socket communication just drives me crazy! i'll have to visit the funny farm, lol ! For a good example of socket programming with plenty of discussion, see chapter 13 of Advanced Perl Programming:

CGI - Read entire contents that were POSTED to the script

2004-01-09 Thread Arul, Rex
Friends: Assume an application opens a HTTP socket and POSTs an information to my CGI, without any HTML form variables. How can I slurp the contents being posted to my CGI script? There are no HTML parameters to loop around the param() function. The CGI I have to work with doesn't allow me to use

CGI - Read entire contents that were POSTED to the script

2004-01-09 Thread Arul, Rex
Title: CGI - Read entire contents that were POSTED to the script Friends: Assume an application opens a HTTP socket and POSTs an information to my CGI, without any HTML form variables. How can I slurp the contents being posted to my CGI script? There are no HTML parameters to loop around

Re: CGI - Read entire contents that were POSTED to the script

2004-01-09 Thread $Bill Luebkert
Arul, Rex wrote: Friends: Assume an application opens a HTTP socket and POSTs an information to my CGI, without any HTML form variables. How can I slurp the contents being posted to my CGI script? There are no HTML parameters to loop around the param() function. The CGI I have to work with

RE: Exec command

2004-01-09 Thread Aaron.Tesch
Of you could use a single forward slash. Inside of a single quote. 'Z:/bin/perl.exe l_table.pl' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Sent: Friday, January 09, 2004 9:34 AM To: perl-win32-users Subject: RE: Exec command Try using back

Re: CGI - Read entire contents that were POSTED to the script

2004-01-09 Thread Trevor Joerges
Title: CGI - Read entire contents that were POSTED to the script Have you tried using the CGI environment variable $ENV{'QUERY_STRING'}? HTH Trevor Joerges - Original Message - From: Arul, Rex To: Perl-Win32-Users Sent: Friday, January 09, 2004 11:24 AM

RE: CGI - Read entire contents that were POSTED to the script

2004-01-09 Thread Arul, Rex
Title: RE: CGI - Read entire contents that were POSTED to the script The data is not passed as QUERY_STRING which needs GET protocol. The data is simply posted using the POST protocol with no HTML variables. I tried Bill's suggestion of $ENV{'CONTENT-LENGTH'} as well as subtle different one

RE: file permissions on win32 - chmod/stat

2004-01-09 Thread Viner, David
thanks... that's what i was thinking. without an execute bit, 0666 and 0777 are identical. for those not familiar w/ chmod, it's the builtin chmod function (perldoc -f chmod). thanks again. dave -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED] Sent: Thursday, January

Re: CGI - Read entire contents that were POSTED to the script

2004-01-09 Thread $Bill Luebkert
Trevor Joerges wrote: Have you tried using the CGI environment variable $ENV{'QUERY_STRING'}? While it is used as the only way to get parms for a GET (and can be present also for a POST - yielding additional args), the parameters for a POST are passed via STDIN with the length of the data in

Re: CGI - Read entire contents that were POSTED to the script

2004-01-09 Thread $Bill Luebkert
Arul, Rex wrote: The data is not passed as QUERY_STRING which needs GET protocol. The data is simply posted using the POST protocol with no HTML variables. I tried Bill's suggestion of $ENV{'CONTENT-LENGTH'} as well as subtle different one of $ENV{CONTENT_LENGTH}, but to no avail. This is

Re: Exec command

2004-01-09 Thread $Bill Luebkert
Aaron.Tesch wrote: Of you could use a single forward slash. Inside of a single quote. 'Z:/bin/perl.exe l_table.pl' Single quotes have no bearing on it and // should be interpreted as / by any reasonable code. Shelling out on most Win32 systems requires using \ instead of / and you need to

Re: win32/linux socket communication. (it just wont talk)

2004-01-09 Thread $Bill Luebkert
Jeff Griffiths wrote: it seems that one of Mike's posts on this thread has generated a number of bounces from a particular mail filtering system (not PureMessage thanks =)) for potty language: Please remove any inappropriate language and send it again. The blocked email will be

Using URI

2004-01-09 Thread mcg2
Hi all, I have been looking at the URI::URL Uniform Resource Locators documentation provided with Perl. It looks easy enough to use URI to change the URL but the document does not mention what happens if the targeted URL does not exist. Does anyone knows what happens if the URL does not exist?

RE: win32/linux socket communication. (it just wont talk)

2004-01-09 Thread Craig Cardimon
If a mail system considers fri**in* objectionable, then I consider the system inadequately programmed, and the programmer inadequate to the task. I mean, really. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of $Bill Luebkert Sent: Friday, January 09,

Different Timers In PERL At A Time...

2004-01-09 Thread Asim Siddiqui
Hello, My question is that, is it possible to make a(or two) timers(Function) being run at the very same time in ONE PERL SCRIPT.Just like in VB, we do that we call any function by the help of Timer(Object).I need the answer very urgently... Regards, Asim Siddiqui...

How do you find what application has a lock on a file or directory?

2004-01-09 Thread Tony White
Suppose you want to remove a directory via the simple command rd /q /s some_dir. However, when you execute your command, you get the message: The process cannot access the file because it is being used by another process. How would you go about (using Perl, of course) finding out what

Using Win32::OLE and Outlook to *resend* a message

2004-01-09 Thread Tony White
Everyone, I've spent nearly a week researching how to go about programmatically resending a message via Outlook. Not reply or forward - I mean RESEND. Resending a message is the only way to keep the Internet headers and original message intact when using Outlook / Exchange. I've poured over

RE: How do you find what application has a lock on a file or directory?

2004-01-09 Thread Messenger, Mark
It's not in perl, but you might try handle from SysInternals: http://www.sysinternals.com/ntw2k/freeware/handle.shtml -Original Message- From: Tony White [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:53 PM To: Perl-Win32-Users (E-mail) Subject: How do you find what

RE: Different Timers In PERL At A Time...

2004-01-09 Thread Thomas, Mark - BLS CTR
Asim Siddiqui [mailto:[EMAIL PROTECTED] My question is that, is it possible to make a(or two) timers(Function) being run at the very same time in ONE PERL SCRIPT.Just like in VB, we do that we call any function by the help of Timer(Object).I need the answer very urgently... You can

RE: Different Timers In PERL At A Time...

2004-01-09 Thread Peter Guzis
You can either use POE or code your own scheduling system: # simple example use strict; my @schedule; DelayTask (5, \Hello, 'World'); DelayTask (8, \Hello, 'Universe'); DelayTask (1, \Tick); while (1) { RunScheduledTasks(); sleep 1; } sub Hello { my $target = shift; print Hello

RE: Using Win32::OLE and Outlook to *resend* a message

2004-01-09 Thread Steven Manross
I think you're trying too hard... Once the message hits someone's mailbox and it's hand identified as spam, the user can move it to some folder somewhere, say a Public Folder (or even a folder in the user's mailbox and keep the headers in tact). From there it's trivial to log in and check the

RE: Different Timers In PERL At A Time...

2004-01-09 Thread Thomas, Mark - BLS CTR
I wrote: One solution is to use POE (see http://poe.perl.org). Other ways are to use a particular GUI library: Tk, SDL, and Wx. There may be other CPAN modules that provide callback timers, too (Prima::Timer looks promising). I forgot to mention as possible solutions Win32::GUI (one of

Converting VBA macro code to Perl

2004-01-09 Thread wei . chen
Hi, I am having trouble converting a line from Excel VB macro to perl. The line is suppose to change the range of the series in a chart object. Hopefully someone can help me out. VB: Sheet1.ChartObjects(1).Chart.SeriesCollection(1).Values = Sheet1.Range(b2:b30) My perl equivalent

Re: using inline::asm

2004-01-09 Thread Sisyphus
Matt Bazan wrote: This is a little off topic...Have any of you attempted using the inline::asm module with perl? If so, can you provide me with examples of your code or point me in the direction of where I can find more info on this? Thanks, mb I had a play with it once, but couldn't get it to

RE: Using Win32::OLE and Outlook to *resend* a message

2004-01-09 Thread Tony White
H you may be right. Although I would automate the procedure that you mention (i.e., I would automate the saving of the message at least). Now, is it true that the saved message is already in a format that can be fed to SpamAssassin? I would still like to know how to resend messages

RE: Using Win32::OLE and Outlook to *resend* a message

2004-01-09 Thread Steven Manross
Yes on both accounts... The procedure to create the text files should be automated and is very easily done... The only human intervention in the process should be the users moving the message to a folder, and someone verifying the users are submitting actual spam. You grab the Internet Headers

Re: Using URI

2004-01-09 Thread Mike Jackson
URI::URL only parses the string and holds it as an object in multiple parts that you can change and get the new compiled string at any time. It does not do actual checking and retrieval of the uri. You want HTTP::Request for actual checking I believe. On Fri, 09 Jan 2004 19:16:37 +, [EMAIL

win32/linux socket communication. (i am going to hell)

2004-01-09 Thread Jeremy A
hi all. All i want to do is this: send a command to a linux box, receive the output printing it to the windows box. here are too scripts, and i cannot figure out why in heaven, it will not work. I can get it to do windows 2 windows, but linux to windows just does not work. this is making me

Re: win32/linux socket communication. (i am going to hell)

2004-01-09 Thread Sisyphus
Jeremy A wrote: hi all. All i want to do is this: send a command to a linux box, receive the output printing it to the windows box. here are too scripts, and i cannot figure out why in heaven, it will not work. I can get it to do windows 2 windows, but linux to windows just does not work.