Edit a file inplace..

2004-07-22 Thread Steve . E . Pittman
Hi, I am trying to edit an ASCII file in placeâ I tried â perl -pi -ne "s/ERROR/TRACKED/g" status.log and receivedâ Can't do inplace edit without backupâ Any help is appreciatedâ Thanks, Steve

Passing username and password to a Windows .exe

2005-04-21 Thread Steve . E . Pittman
I have a Windows application that needs to run 365/24/7.. the application requires a username and password.. is it possible to pass the username and pass to the application? if possible, I would like to launch the .exe from a perl script and monitor the PID. Any help is appreciated... Steve

Monitoring application runtime

2003-10-09 Thread Steve . E . Pittman
I am using Win32::Spawn($application, $cmdLine, $processID) to launch a non-windows app..is there a method to determine when the application has ended? I obviously have the PID but I have not found a WIN32 function to monitor the process. Regards, Steve -- To unsubscribe, e-mail: [EMAIL P

Use strict (beginner question)

2003-04-04 Thread Steve . E . Pittman
All, I added the "use strict;" statement to my script for the first time and received the following compilation errors: Global symbol "$LoginName" requires explicit package name at todaysFiles.pl line 43. Global symbol "$TMPNow" requires explicit package name at todaysFiles.pl line 45. Global sym