hairydragon has asked for the wisdom of the Perl Monks concerning the following question:

Monks, I've written some scripts in Net::Appliance::Session. These scripts log into cisco switch, do something, then report back something to standard output. This is on a linux box. I have a front end windows .Net 3.5 web server. With a simple webpage with a field and a button. I want the user to input a mac address in the field, push the button, and the remote script launches reporting back to the user the switch port the mac address is on. The point is, .Net sends a variable to the linux box to pass to the script and the script sends back to the web server output that is displayed. I've no real idea where to start. The web server does not have Perl on it, and I believe the best I can get installed on it is simple perl 4 executable. maybe a manual module or two, but not Active State Perl. Any help would be greatly apppreciated of where to start. Regards, Marcus

Replies are listed 'Best First'.
Re: Initiate remote perl script from .Net
by CountZero (Bishop) on Apr 07, 2009 at 06:12 UTC
    Installing Activestate Perl will not be more difficult as installing a "simple perl 4 executable". Did you actually try it ore are you just guessing?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James