Try changing the line:
if( SERVICE_CONTROL_NONE != ( my $Message =
Win32::Daemon::QueryLastMessage( 1 ) ) ) {
To:
if( SERVICE_CONTROL_NONE != ( my $Message = Win32::Daemon::State() ) ) {
See if this works.
dave
Original Mesasge:
Message: 12
Date: Sun, 21 Apr 2002 11:01:27 -
Hi Brad,
You could use the 'basename' function from the 'File::Basename' module.
#!perl.exe -w
use strict;
use File::Basename;
my $file_path = 'c:\some\path\to\a\file.txt';
my $file = basename($file_path);
print $file;
Or here is a rex that does much the same thing.
#!perl.exe -w
I am building a web interface for uploading files for one of the sub-
committees of our non-profit to be able to share. Since I haven't had
time to learn the CGI module, I am still using the cgi-lib.pl parser file.
When a file is uploaded, for example test.pdf from web form field
'get_file', I
I'm trying to get information back from photoshop via OLE, but
I've run into a problem. The photoshop OLE call returns an
object in a parameter. In VB, this looks like:
Dim reference as IActionReference
Dim result as IActionDescriptor
Dim haskey as Long
Set reference=PSApp.MakeReference
Hi Folks,
my problems with ppm seem to be solved.
You were all right, suggesting that the error messages had
something to do with the ppm.xml. I exchanged my version of
ppm.xml with the one Sisyphus sent to me (Just had to change the
Installation root etc., because mine was c:\perl not d:\perl
Hello everyone,
I have the following block of code inside a
while(1) statement...so that if I send a stop service
to the the service control manger that it will stop
the service. However when I try this...it will not
stop.
use win32::Daemon;
Win32::Daemon::StartService();
while( SERVICE_ST
Yeah, I need to perform a short dialog before Tk
minimizes my prompt...
Any help is desirous!
--- "Richard A. Evans" <[EMAIL PROTECTED]> wrote:
> Is there a way to run a Tk app from the command line
> and have the command
> (DOS) window NOT minimize?
>
>
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Marcos Lorenzo de Santiago
Sent: Friday, April 19, 2002 12:50 PM
To: Terry Carroll
Cc: [EMAIL PROTECTED]
Subject: Re: Specifying the size of the console window?
On Thu, 18 Apr 2002, Terry Carroll wrote: