CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Post deleted by TiCooly

 



TiCooly
New User

Aug 17, 2007, 8:20 AM

Post #1 of 4 (292 views)
Post deleted by TiCooly

 


KevinR
Veteran


Aug 17, 2007, 8:24 AM

Post #2 of 4 (291 views)
Re: [TiCooly] Perl - IIS 6.0 - printing result of an exe run under Perl [In reply to] Can't Post

check all system functions for success or failure:

open (QTASK, "ping 127.0.0.1 |") or die "Ping failed: $!";
-------------------------------------------------


TiCooly
New User

Aug 17, 2007, 8:59 AM

Post #3 of 4 (286 views)
Re: [TiCooly] Perl - IIS 6.0 - printing result of an exe run under Perl [In reply to] Can't Post

The script works fine.... Apparently, IIS had a permission problem and the script didn't run. I disabled the Annonymous login and it works fine as Admin....





Enjoy the script.!



Yet another reason to hate IIS.... I was working on this for 3 days.... With no bloody error message...!
Ta,

TI-C


KevinR
Veteran


Aug 17, 2007, 9:10 AM

Post #4 of 4 (284 views)
Re: [TiCooly] Perl - IIS 6.0 - printing result of an exe run under Perl [In reply to] Can't Post

There were no provisions in your (now deleted) code to capture any errors from the operating system or the server. If an operating system call fails the error is captured in the special perl variable $!, which you have to check for yourself.

-Kevin
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives