cannot import certains modules when running perl scripts from Java on Windows
Dear perl users, I'm having difficulties running perl scripts from java which import certain modules like File::Tail and File::Sort. I initially installed ActiveState Perl but then did a full Cygwin installation (which includes compilers, interpreters, etc of most popular programming languages). After doing that I installed the extra modules I needed with CPAN, using this command line: perl -MCPAN -e 'install File::Sort' All the modules have been installed successfully and work fine when I run my scripts from Cygwin, but when I invoke them from Java code they don't work. After a puzzling my brains for I while I discovered the source of the problem. Can anyone shed some light on this please? Is it because I have both ActivePerl and Cygwin perl installed? thanks in advance, Tom -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: Running perl scripts on remote machine
On Feb 11, 2009, at 12:44, vijaya R vijaya.ramur...@gmail.com wrote: Hi, why can't you compile an exe of the scripts such that all can be executed from the respective machines without any dependencies? Regards, Vijaya You can. Take a look at PAR::Packer on CPAN. If you are using ActivePerl you can use the inferiour perl2exe (the last time I checked ActiveState still had not create a ppm for PAR::Packer). -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Running perl scripts on remote machine
Hi All, I have a team of 4 people, and have some perl scripts written to make our life easy J Now if my team mates want to run the scripts, then they have to install perl on their machine (also the modules required for the scripts), then download perl scripts on their machine and then run those to get job done. Can I install perl on a common machine and keep all of our scripts there? Then can any team mate run those scripts remotely on that machine? Or is there any other way to handle this situation? Thanks, Paryushan
Re: Running perl scripts on remote machine
2009/2/11 Sarsamkar, Paryushan psars...@ptc.com: Hi All, Hi Can I install perl on a common machine and keep all of our scripts there? Then can any team mate run those scripts remotely on that machine? Or is there any other way to handle this situation? I think you should be looking at ssh. Not sure how it works on Windows but on other platforms this works. ssh u...@host '/path/to/script.pl arg1 arg2' Good luck, Dp. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: Running perl scripts on remote machine
Hi, why can't you compile an exe of the scripts such that all can be executed from the respective machines without any dependencies? Regards, Vijaya
PSPad and running Perl Scripts
Hello: To run Perl CGI Programs, select Program Settings from the Settings Menu. Then select Web Server. Under Server place: localhost\cgi-bin . Under Document Root place C:\Program Files\Apache Group\Apache2\cgi-bin or whatever is the path to your cgi-bin directory. Fire up your Web Server and press F12, this runs the Script in IE. To run in another browser, such as Firefox, go to the Highlighter Settings in the Settings menu and select Perl and external apps and enterC:\Program Files\Mozilla Firefox\firefox.exe %PHPFile% . This will allow you to press F9 to open the Script in Firefox. Regards, Paul Brasseur (Victoria, B.C. Canada ) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Running Perl Scripts Via A Web Page
Hi All, Can someone please recommend a book for me. I do some web administration w/ perl scripts. I would like to create a web page w/ drop down menus... and depending on the selection criteria, run that script. I searched on Google a little, but not really sure what I'm looking for. :~) Thanks! Brian Volk HP Products 317.298.9950 x1245 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
RE: Running Perl Scripts Via A Web Page
O'Reilly is your friend (IMHO). You need a good HTML book, and Musciano is its author. You need the Camel book (Learning Perl, Schwartz et al), and probably the Llama book (Programming Perl, Wall et al). I'm happy with them all. I haven't yet found a definitive Apache/CGI book, but you will need one! I usually take an afternoon to go to my local decent book shop (here, Barnes Noble in State College PA), and just plain browse... And ordering them online will probably save a few bucks too. HTH, G. -Original Message- From: Brian Volk [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 3:52 PM To: Beginners (E-mail) Subject: Running Perl Scripts Via A Web Page Hi All, Can someone please recommend a book for me. I do some web administration w/ perl scripts. I would like to create a web page w/ drop down menus... and depending on the selection criteria, run that script. I searched on Google a little, but not really sure what I'm looking for. :~) Thanks! Brian Volk HP Products 317.298.9950 x1245 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
RE: Running Perl Scripts Via A Web Page
G'day... Can someone please recommend a book for me. I do some web administration w/ perl scripts. I would like to create a web page w/ drop down menus... and depending on the selection criteria, run that script. I searched on Google a little, but not really sure what I'm looking for. :~) The main module that you need to know about is CGI (it seems like the defacto module everyone uses - and for good reason), and I personally also use CGI::Untaint (for reading in form data). Take a look at the package on CPAN - go to http://search.cpan.org/ and search for CGI - read the documentation. (Sorry, this may seem like the long way around, but reading it for the purpose of something you're working on may help.) I've also read the ORA book on this subject, but I don't know if I'd recommend it that highly - you may wish to check it out for yourself before purchasing it. It also sound like some of what your doing may require client-side processing rather than server-side processing i.e. using JavaScript. (I could be wrong on this though.) It's what you want if you want to modify the appearance of a web page whilst a user is viewing it. Anyway, check out CGI and CGI::Untaint - now I'm wondering what others on this list would recommend regarding CGI::Untaint(?). :) All the best! Regards, Michael S. E. Kraus Software Developer Wild Technology Pty Ltd ___ ABN 98 091 470 692 Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017, Australia Telephone 1300-13-9453 | Facsimile 1300-88-9453 http://www.wildtechnology.net The information contained in this email message and any attachments may be confidential information and may also be the subject of client legal - legal professional privilege. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. This email and any attachments are also subject to copyright. No part of them may be reproduced, adapted or transmitted without the written permission of the copyright owner. If you have received this email in error, please immediately advise the sender by return email and delete the message from your system. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Trouble running perl scripts.
Gidday All, I should be past this now. I hope someone can help, my host refuses to help. I have written this simple perl script to test it on my host. I always have trouble when I write a new script and upload it to this host it runs fine on my server here at work. code #!/usr/bin/perl -w print Content-Type: text/html\n\n; print Hello World !; /code I ftp it in ASCII format set the appropriate permissions and still it doesn't run. I get an Internal Server error. Colin Johnstone ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Trouble running perl scripts.
Gidday All, Further to my previous email If I change the permissions to 555 it works, but if I set it to 777 it doesn't could this be a safeguard that is built into the server? Any help appreciated. Colin -Original Message- From: Johnstone, Colin Sent: Wednesday, March 19, 2003 14:34 To: [EMAIL PROTECTED] Subject: Trouble running perl scripts. Gidday All, I should be past this now. I hope someone can help, my host refuses to help. I have written this simple perl script to test it on my host. I always have trouble when I write a new script and upload it to this host it runs fine on my server here at work. code #!/usr/bin/perl -w print Content-Type: text/html\n\n; print Hello World !; /code I ftp it in ASCII format set the appropriate permissions and still it doesn't run. I get an Internal Server error. Colin Johnstone ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Trouble running perl scripts.
Johnstone, Colin wrote: Gidday All, I should be past this now. I hope someone can help, my host refuses to help. I have written this simple perl script to test it on my host. I always have trouble when I write a new script and upload it to this host it runs fine on my server here at work. code #!/usr/bin/perl -w print Content-Type: text/html\n\n; print Hello World !; /code I ftp it in ASCII format set the appropriate permissions and still it doesn't run. I get an Internal Server error. I assume you don't have access to the error logs to determine why you are getting the 500 error. Are you sure the path to perl is correct? I also assume you don't have shell access to try and run the program from the command line? You are sure your host provides a script aliased directory, and that you have the script in the correct location? Naturally these are obvious questions, but want to make sure they are asked before suggesting anything more complex... http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Trouble running perl scripts.
Hi Wiggins, thats right I don't have access to error logs or command line to run it. I can only run it through the browser. Does it make sense that they have built a safeguard into the server that if I had set permissions to 777 it would not run, but if I change to 755 it will. Regards Colin -Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 14:42 To: Johnstone, Colin Cc: [EMAIL PROTECTED] Subject: Re: Trouble running perl scripts. Johnstone, Colin wrote: Gidday All, I should be past this now. I hope someone can help, my host refuses to help. I have written this simple perl script to test it on my host. I always have trouble when I write a new script and upload it to this host it runs fine on my server here at work. code #!/usr/bin/perl -w print Content-Type: text/html\n\n; print Hello World !; /code I ftp it in ASCII format set the appropriate permissions and still it doesn't run. I get an Internal Server error. I assume you don't have access to the error logs to determine why you are getting the 500 error. Are you sure the path to perl is correct? I also assume you don't have shell access to try and run the program from the command line? You are sure your host provides a script aliased directory, and that you have the script in the correct location? Naturally these are obvious questions, but want to make sure they are asked before suggesting anything more complex... http://danconia.org ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Trouble running perl scripts.
Johnstone, Colin wrote: Hi Wiggins, thats right I don't have access to error logs or command line to run it. I can only run it through the browser. Does it make sense that they have built a safeguard into the server that if I had set permissions to 777 it would not run, but if I change to 755 it will. I can't say that I have seen that before but I rarely have used external systems, and where I have things tend to be chrooted, etc., but I also won't say that it can't be done, nor that it would be a bad idea. I think your guess is probably correct, but I have no way to back it up. I would say that you shouldn't want 777 anyways, and if 755 accomplishes your goals, file it in your documentation and move on to more interesting things, though you might let the ISP know they should include it in a FAQ or something... http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Trouble running perl scripts.
Johnstone, Colin wrote: Gidday All, I should be past this now. I hope someone can help, my host refuses to help. I have written this simple perl script to test it on my host. I always have trouble when I write a new script and upload it to this host it runs fine on my server here at work. code #!/usr/bin/perl -w print Content-Type: text/html\n\n; Start here: print Content-type: text/html\n\n; and see if that helps. Joseph print Hello World !; /code I ftp it in ASCII format set the appropriate permissions and still it doesn't run. I get an Internal Server error. Colin Johnstone ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Trouble running perl scripts.
Johnstone, Colin wrote: ... Does it make sense that they have built a safeguard into the server that if I had set permissions to 777 it would not run, but if I change to 755 it will. Regards Colin Hi Colin, It sure does. When you 777 a directory exposed to the Internet, you leave not only your own site, but the server itself at risk. Since anybody can write to such a directory, they can send their own malicious code up to operate under your permissions. While your rights on your server may be limited, they are probably at least enough to compromise the confidentiality of other ISP members files. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
running perl scripts on Windows
Hi all, I am runing a windows 2000 server and I have just installed perl that I got from ActiveState.com. I have been playing and have come up against a few problems. 1) It seems that writing perl scripts with embedded HTML is more like writing 'Microsoft Active Server Pages' in Perl, using % and % to embed the perl script. These scripts are then saved as .asp files. This is not what I am used to, is there any way I can write my usual perlscripts (without using % and %) and save them as .pl, and then run that script on my Windows 200 server ? 2) The second problem I am up against is: It says in the setup procedure (at www.activestate.com) that I should be able to run perl scripts from my command prompt ? I dont seem to be able to do this. Has any one any advise they can share Any help would be much appreciated as I am now past the 'Pulling my hair out' stage ;-( Thanks for all your help Anadi _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
2) The second problem I am up against is: It says in the setup procedure (at www.activestate.com) that I should be able to run perl scripts from my command prompt ? I dont seem to be able to do this. what happens when you try to run a script from commmand line? is the perl executable in your path? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
Hi what happens when you try to run a script from commmand line? is the perl executable in your path? No - the error I get is: example.pl is not recognised as an internal or external command, operable program or batch file How to I make D:\Perl\bin part of my path ? _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
In win2k, right click My Computer, choose Properties, then the Advanced Tab, then the Environment Variables button, add the path to the perl install (c:\perl\bin on my system) to the System Path. Voila. You should be fine at that point. Ron -Original Message- From: A Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 9:56 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: running perl scripts on Windows Hi what happens when you try to run a script from commmand line? is the perl executable in your path? No - the error I get is: example.pl is not recognised as an internal or external command, operable program or batch file How to I make D:\Perl\bin part of my path ? _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
Hey A, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 9:55:51 AM. AT Hi what happens when you try to run a script from commmand line? is the perl executable in your path? AT No - the error I get is: AT example.pl is not recognised as an internal or external command, AT operable program or batch file This is telling you that you don't have .pl associated as an executable file. I am guessing you need to add .pl to the PATHEXT environment variable. AT How to I make D:\Perl\bin part of my path ? first I would check to see if it is in your path. at a cmd prompt type 'perl -v' to get the version. I expect this will work. -- [EMAIL PROTECTED] MUA = TB! v1.60q (www.RitLabs.com/The_Bat) Windows 2000 5.0.2195 (Service Pack 2) Why doesn't glue stick to the inside of the bottle? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
Hey A, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 10:41:41 AM. AT Hi Tim, thanks for your help, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 9:55:51 AM. AT what is MUA ? Mail User Agent - eMail client... This is telling you that you don't have .pl associated as an executable file. I am guessing you need to add .pl to the PATHEXT environment variable. AT How to I make D:\Perl\bin part of my path ? first I would check to see if it is in your path. at a cmd prompt type 'perl -v' to get the version. I expect this will work. AT This doesn't work ! I get that same error: AT perl is not recognised as an internal or external command, operable program AT or batch file. ok, quick question on your configuration. You installed ActivePerl on a windows server right? Did you accept the defaults? When you typed perl -v were you at the _server's_ console cmd prompt? What do you get if you type 'path' at a cmd prompt (again, this is at the server console right?)? -- [EMAIL PROTECTED] MUA = TB! v1.60q (www.RitLabs.com/The_Bat) Windows 2000 5.0.2195 (Service Pack 2) What garlic is to salad, insanity is to art. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
Hi David, I have found the 'File Types' and the path was already set to: D:\perl\bin\perl.exe %1 %* but this command line doesn't work: perl -e 'printIt worked\n;' I get the same 'perl is not recognised as an internal or external command ..' Any ideas Cheers Anadi Anadi, Let's tackle the command line issue first. go to : My Computer View Options File Types Find Perl, .pl extension in list (if you cannot find a perl extension {.pl} you need to make a file association, but activestate's installer should have done this for you) Edit the file type Edit the 'Open' action Add (after C:\perl\bin\perl.exe) %1 %* so you have: C:\perl\bin\perl.exe %1 %* This will allow command line parameters to be passed to your perl scripts. Open a dos window and try: perl -e ' printIt worked\n;' Let me know how you make out -David -Original Message- From: A Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 9:32 AM To: [EMAIL PROTECTED] Subject: running perl scripts on Windows Hi all, I am runing a windows 2000 server and I have just installed perl that I got from ActiveState.com. I have been playing and have come up against a few problems. 1) It seems that writing perl scripts with embedded HTML is more like writing 'Microsoft Active Server Pages' in Perl, using % and % to embed the perl script. These scripts are then saved as .asp files. This is not what I am used to, is there any way I can write my usual perlscripts (without using % and %) and save them as .pl, and then run that script on my Windows 200 server ? 2) The second problem I am up against is: It says in the setup procedure (at www.activestate.com) that I should be able to run perl scripts from my command prompt ? I dont seem to be able to do this. Has any one any advise they can share Any help would be much appreciated as I am now past the 'Pulling my hair out' stage ;-( Thanks for all your help Anadi _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
Hi Tim, You installed ActivePerl on a windows server right? Did you accept the defaults? Yes - ActivePerl has been installed on my server and I accepted the defaults. When you typed perl -v were you at the _server's_ console cmd prompt? yes What do you get if you type 'path' at a cmd prompt (again, this is at the server console right?)? I get: PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\Wbem;C:\MSSQL7\BINN;C:\Program Files\Network Associatives\VirusScan Engine\4.0.xx\ Thanks again for your time and help Anadi _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
Hi David - You are a star, It worked Yippee So I realise that I have to have: #!D:\Perl\bin\perl -w at the top of my perlscripts... So if I am writing scripts on my server for the web - database access etc, do I have to use the % and % to embed my perl into my HTML I have been learning perl using Web Space I have bought and I would like to continue writing my perl in the same manor, using: printHTML; html HTML etc... Can this be done in this fashion using perl on windows 2000 ? Thanks a lot for your help, really really appreciated !! All the best Anadi From: David Kirol [EMAIL PROTECTED] To: A Taylor [EMAIL PROTECTED] Subject: RE: running perl scripts on Windows Date: Tue, 18 Jun 2002 11:11:27 -0400 Anadi, Great! Choose your favorite editor, and copy/paste #!D:\Perl\bin\perl -w printAnadi's first perl script\n; Then save the file as anadi.pl. Open a command prompt window, cd to the directory where you saved the file then type anadi.pl Let me know how you make out -David -Original Message- From: A Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:01 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: running perl scripts on Windows Hi David, I have found the 'File Types' and the path was already set to: D:\perl\bin\perl.exe %1 %* but this command line doesn't work: perl -e 'printIt worked\n;' I get the same 'perl is not recognised as an internal or external command .' Any ideas Cheers Anadi Anadi, Let's tackle the command line issue first. go to : My Computer View Options File Types Find Perl, .pl extension in list (if you cannot find a perl extension {.pl} you need to make a file association, but activestate's installer should have done this for you) Edit the file type Edit the 'Open' action Add (after C:\perl\bin\perl.exe) %1 %* so you have: C:\perl\bin\perl.exe %1 %* This will allow command line parameters to be passed to your perl scripts. Open a dos window and try: perl -e ' printIt worked\n;' Let me know how you make out -David -Original Message- From: A Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 9:32 AM To: [EMAIL PROTECTED] Subject: running perl scripts on Windows Hi all, I am runing a windows 2000 server and I have just installed perl that I got from ActiveState.com. I have been playing and have come up against a few problems. 1) It seems that writing perl scripts with embedded HTML is more like writing 'Microsoft Active Server Pages' in Perl, using % and % to embed the perl script. These scripts are then saved as .asp files. This is not what I am used to, is there any way I can write my usual perlscripts (without using % and %) and save them as .pl, and then run that script on my Windows 200 server ? 2) The second problem I am up against is: It says in the setup procedure (at www.activestate.com) that I should be able to run perl scripts from my command prompt ? I dont seem to be able to do this. Has any one any advise they can share Any help would be much appreciated as I am now past the 'Pulling my hair out' stage ;-( Thanks for all your help Anadi _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com _ Send and receive Hotmail on your mobile device: http://mobile.msn.com _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
Anadi, Thanks, but not really... The #!D:\Perl|bin\perl -w is ignored in windows - the key is the file association ( the My Computer, View, Options stuff). Once windows knows which program is supposed to open a particular file extension it should be off on running, but I had you put the #!D:... inplace because some of the web servers (Apache for one) do use it to determine how to run a script. Now let talk 'bout HTML. I don't 'know' HTML but I can fake it with the Perl CGI module. There are many examples available on the web. I am not familar with the % % syntax (Mason or mod_perl perhaps??), The next hurdle for you is probably configuring the web server. Once you can run a cgi script on your server, hit the web examples and the CGI module. Have Fun David A Taylor [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi David - You are a star, It worked Yippee So I realise that I have to have: #!D:\Perl\bin\perl -w at the top of my perlscripts... So if I am writing scripts on my server for the web - database access etc, do I have to use the % and % to embed my perl into my HTML I have been learning perl using Web Space I have bought and I would like to continue writing my perl in the same manor, using: printHTML; html HTML etc... Can this be done in this fashion using perl on windows 2000 ? Thanks a lot for your help, really really appreciated !! All the best Anadi From: David Kirol [EMAIL PROTECTED] To: A Taylor [EMAIL PROTECTED] Subject: RE: running perl scripts on Windows Date: Tue, 18 Jun 2002 11:11:27 -0400 Anadi, Great! Choose your favorite editor, and copy/paste #!D:\Perl\bin\perl -w printAnadi's first perl script\n; Then save the file as anadi.pl. Open a command prompt window, cd to the directory where you saved the file then type anadi.pl Let me know how you make out -David -Original Message- From: A Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:01 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: running perl scripts on Windows Hi David, I have found the 'File Types' and the path was already set to: D:\perl\bin\perl.exe %1 %* but this command line doesn't work: perl -e 'printIt worked\n;' I get the same 'perl is not recognised as an internal or external command .' Any ideas Cheers Anadi Anadi, Let's tackle the command line issue first. go to : My Computer View Options File Types Find Perl, .pl extension in list (if you cannot find a perl extension {.pl} you need to make a file association, but activestate's installer should have done this for you) Edit the file type Edit the 'Open' action Add (after C:\perl\bin\perl.exe) %1 %* so you have: C:\perl\bin\perl.exe %1 %* This will allow command line parameters to be passed to your perl scripts. Open a dos window and try: perl -e ' printIt worked\n;' Let me know how you make out -David -Original Message- From: A Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 9:32 AM To: [EMAIL PROTECTED] Subject: running perl scripts on Windows Hi all, I am runing a windows 2000 server and I have just installed perl that I got from ActiveState.com. I have been playing and have come up against a few problems. 1) It seems that writing perl scripts with embedded HTML is more like writing 'Microsoft Active Server Pages' in Perl, using % and % to embed the perl script. These scripts are then saved as .asp files. This is not what I am used to, is there any way I can write my usual perlscripts (without using % and %) and save them as .pl, and then run that script on my Windows 200 server ? 2) The second problem I am up against is: It says in the setup procedure (at www.activestate.com) that I should be able to run perl scripts from my command prompt ? I dont seem to be able to do this. Has any one any advise they can share Any help would be much appreciated as I am now past the 'Pulling my hair out' stage ;-( Thanks for all your help Anadi _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com _ Send and receive Hotmail on your mobile device: http://mobile.msn.com _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail
Re: running perl scripts on Windows
Tim, Thanks a lot for this.. Thanks to you and a few others on this list I now have Perl running properly on my server !!! Well - guess I can kiss the Summer goodbye .. ha ha ;-) Thanks again Anadi Not sure what happened, every time I have installed, ActiveState updated the path. When you installed, did you have admin rights? Anyway, what you want to do is right click 'My Computer', the pick 'Properties'. On the System Properties pop up, go to the 'Advanced' tab and pick the 'Environment Variables' button. In the 'System Variables' section edit the Path variable and add Perl. Mine looks something like this == D:\Perl\bin\;C:\WINNT\system32;C:\WINNT; 8---snipped I would also suggest editing or adding the PATHEXT variable to include .pl (again, mine looks like this .COM;.EXE;.BAT;.CMD;.pl;8---snipped You will need admin rights to do this. Now you should be able to type perl -v at a cmd prompt and get a good response. Also, you should be able to type 'hello' in the dir you have hello.pl hello.pl #!perl -w use strict; print hello world\n; /hello.pl _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
use #!d:\perl\bin\perl.exe -w on top of your script eric On Tue, 18 Jun 2002, A Taylor wrote: Hi what happens when you try to run a script from commmand line? is the perl executable in your path? No - the error I get is: example.pl is not recognised as an internal or external command, operable program or batch file How to I make D:\Perl\bin part of my path ? _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
Hey learn, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 2:49:32 PM. lp use #!d:\perl\bin\perl.exe -w lp on top of your script As I recall, the #! in Windows only uses the switches (-w). So #!perl -w is the same as #!d:\perl\bin\perl -w Can anyone verify this? -- [EMAIL PROTECTED] MUA = TB! v1.60q (www.RitLabs.com/The_Bat) Windows 2000 5.0.2195 (Service Pack 2) A life? . . Cool! Where can I download one of those?! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
Hey learn, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 2:49:32 PM. lp use #!d:\perl\bin\perl.exe -w lp on top of your script As I recall, the #! in Windows only uses the switches (-w). So #!perl -w is the same as #!d:\perl\bin\perl -w Can anyone verify this? On Win2K, from the command line, the she-bang means absolutely nothing. It's not until you try to run it from a server that the she-bang comes into play... I think it is the same across all win32 platforms... AFAIK, #!perl will work only if the perl binary is in your path correctly, otherwise, you must point it to the full path. Shawn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
Something I just found out. I use NT 4 sp 6, Activestate perl 5.6.1. I create a cmd file for all my perlscripts that have a line c:/full/path/to/perl c:/path/to/script.pl and it seems that it reads the #! line for command line options, (ie -d). Never knew that. -Original Message- From: Shawn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 3:20 PM To: Tim Musson; [EMAIL PROTECTED] Subject: Re: running perl scripts on Windows Hey learn, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 2:49:32 PM. lp use #!d:\perl\bin\perl.exe -w lp on top of your script As I recall, the #! in Windows only uses the switches (-w). So #!perl -w is the same as #!d:\perl\bin\perl -w Can anyone verify this? On Win2K, from the command line, the she-bang means absolutely nothing. It's not until you try to run it from a server that the she-bang comes into play... I think it is the same across all win32 platforms... AFAIK, #!perl will work only if the perl binary is in your path correctly, otherwise, you must point it to the full path. Shawn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
Shawn wrote: Hey learn, My MUA believes you used (X-Mailer not set) to write the following on Tuesday, June 18, 2002 at 2:49:32 PM. lp use #!d:\perl\bin\perl.exe -w lp on top of your script As I recall, the #! in Windows only uses the switches (-w). So #!perl -w is the same as #!d:\perl\bin\perl -w Can anyone verify this? On Win2K, from the command line, the she-bang means absolutely nothing. It's not until you try to run it from a server that the she-bang comes into play... I think it is the same across all win32 platforms... The previous op was correct. The first line is parsed for switches, unix or win32. As a side note, with unix, its only when you make the file executeable that the shebang serves any other purpose. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
Nikola Janceski wrote: Something I just found out. I use NT 4 sp 6, Activestate perl 5.6.1. I create a cmd file for all my perlscripts that have a line c:/full/path/to/perl c:/path/to/script.pl Im just guessing, but it seems like this could throw your environment way out of whack. Having a program (IIS) that fires a program (the .cmd file) fire another program (the script). Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
Dave K wrote: Anadi, Thanks, but not really... The #!D:\Perl|bin\perl -w is ignored in windows - the key is the file association... dont forget... not ignored... the line is parsed for switches I am not familar with the % % syntax (Mason or mod_perl perhaps??), The That is how IIS denotes code to be generated on the server using VBScript, PerlScript, etc Not a perl thing at all. Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running perl scripts on Windows
On Win2K, from the command line, the she-bang means absolutely nothing. It's not until you try to run it from a server that the she-bang comes into play... I think it is the same across all win32 platforms... The previous op was correct. The first line is parsed for switches, unix or win32. As a side note, with unix, its only when you make the file executeable that the shebang serves any other purpose. Oops, forgot about the switches... But, if you have no switches, the shebang is not needed if the command is run like: perl myscript.pl. Shawn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running perl scripts on Windows
And of course, if you want the perl scripts to just run without invoking the interpreter directly, you can associate all .pl files with perl.exe. This is done automatically with the ActivePerl MSI install. Additionally, you can add .pl to your PATHEXT environment variable so that you can invoke your scripts without necessarily using the extension (although the extension still needs to be there for the file to work) -Original Message- From: Shawn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 2:04 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: running perl scripts on Windows On Win2K, from the command line, the she-bang means absolutely nothing. It's not until you try to run it from a server that the she-bang comes into play... I think it is the same across all win32 platforms... The previous op was correct. The first line is parsed for switches, unix or win32. As a side note, with unix, its only when you make the file executeable that the shebang serves any other purpose. Oops, forgot about the switches... But, if you have no switches, the shebang is not needed if the command is run like: perl myscript.pl. Shawn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Perl Scripts
Do this: 1. Open up a terminal session 2. Type which perl or to get the location of the Perl interpreter 3. On the very first line of your Perl program, insert the location of the Perl interpreter as determined in 2. In my case, this what I got: momoni:/home/william/bin/PERL_CGI(4)% which perl /opt/local/bin/perl - my system's response So my all my Perl programs begin as follows: #!/opt/local/bin/perl 4. You must then make the file executable. In this case, depending on who else will be using the file, the permission setting will vary. In most cases, this will be enough: chmod 750 {the name of your Perl program} E.g.: chmod 750 foo.pl 5. If the location of your Perl program is in your PATH variable (echo $PATH), you can run the program by simply entering the name of the program. That is: foo.pl If not, and your PATH variable does not include ./ (current directory), since most workshops do not allow the inclusion of ./ in the PATH variable (for security reasons). Then you have to enter ./ before the name of your program. That is: ../foo.pl Hope this helps. __ William Ampeh (x3939) Federal Reserve Board -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Running Perl Scripts
I'm using redhat linux 7.2 and have a question about running perl scripts. How do you make it so you do not have to type perl script.pl every time you want to run a scripts. I just want to be able to type the name of my script. Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Perl Scripts
At the beginning of the script (on the first line), put #!/usr/bin/perl or whatever the path to your perl binary is Make sure you chmod the .pl file with correct permissions, and then type ../script.pl On Saturday, February 16, 2002, at 11:53 AM, Chris wrote: I'm using redhat linux 7.2 and have a question about running perl scripts. How do you make it so you do not have to type perl script.pl every time you want to run a scripts. I just want to be able to type the name of my script. Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Perl Scripts
Ah shoot... On Saturday, February 16, 2002, at 12:04 PM, Chris Garaffa wrote: ../script.pl Should have been ../script.pl one period (damn typos) My apologies Chris -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Perl Scripts
Em Sábado 16 Fevereiro 2002 14:53, Chris escreveu: I'm using redhat linux 7.2 and have a question about running perl scripts. How do you make it so you do not have to type perl script.pl every time you want to run a scripts. I just want to be able to type the name of my script. Thanks. chmod a+x script.pl ../script.pl -- M4Ck B3nN4Ck - Linux user 142324 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache running perl scripts
Hi All Apologies as this is not strictly a perl question, Im trying to install an apache websever onto a WIN95 system. I have managed to successfully install it so far as it runs under the the URL http://127.0.0.1/ but will not run when I type http://localhost. I am running Apache 1.3.20, Once this oddity is corrected ,I wish to test perl cgi using my localhost. I believe that I need to alter the apache config file to run perl, but Im not sure which parts. I think its the ScriptAlias part, the httpd.conf file is included as an attatchment, so hopefullly you can see what I have done wrong, but Ive changed that to where I keep the perl script and I get is this - Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. --- - Apache/1.3.20 Server at localhost Port 80 -- httpd.conf Description: Binary data -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache running perl scripts
Edit your hosts file (C:\windows\hosts, I think) Add this line 127.0.0.1 localhost - Original Message - From: rabs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 4:35 PM Subject: Apache running perl scripts Hi All Apologies as this is not strictly a perl question, Im trying to install an apache websever onto a WIN95 system. I have managed to successfully install it so far as it runs under the the URL http://127.0.0.1/ but will not run when I type http://localhost. I am running Apache 1.3.20, Once this oddity is corrected ,I wish to test perl cgi using my localhost. I believe that I need to alter the apache config file to run perl, but Im not sure which parts. I think its the ScriptAlias part, the httpd.conf file is included as an attatchment, so hopefullly you can see what I have done wrong, but Ive changed that to where I keep the perl script and I get is this - Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. - -- - Apache/1.3.20 Server at localhost Port 80 -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache running perl scripts
never had to install perl on a windows box but the localhost problems seems like you need to use a hosts file so localhost resolves. hope this helps Steve On Fri, 11 Jan 2002, rabs wrote: Hi All Apologies as this is not strictly a perl question, Im trying to install an apache websever onto a WIN95 system. I have managed to successfully install it so far as it runs under the the URL http://127.0.0.1/ but will not run when I type http://localhost. I am running Apache 1.3.20, Once this oddity is corrected ,I wish to test perl cgi using my localhost. I believe that I need to alter the apache config file to run perl, but Im not sure which parts. I think its the ScriptAlias part, the httpd.conf file is included as an attatchment, so hopefullly you can see what I have done wrong, but Ive changed that to where I keep the perl script and I get is this - Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. --- - Apache/1.3.20 Server at localhost Port 80 -- Thank you, Steve Maroney -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Perl scripts...
Lightning flashed, thunder crashed and Daniel Falkenberg daniel.falkenberg@vin tek.net whispered: | I want to be able to check for errors on my Linux box before I run them in a | browser. The problem is is tha when I do this all my HTML is dispalyed. I | don't want to see this I want to be able to just check for any errors and | display the errors only. It depends on what errors you want to check for. If you want to check for syntax errors, you can use the -c flag from the command line: perl -c scriptname.pl This doesn't actually run the script, it just compiles it and checks the syntax. If you want to actually run it, but just not see any output (for example, if your script is supposed to create a file and you want to be able to see the file created), you can redirect output to /dev/null in a form similar to: perl scriptname.pl /dev/null Of course, remember that when you run the script from the command line, it will have your userid and your privledges. When it is run from the web server, it will have the web server's userid and privledges (which is usually different from your own). -spp -- Stephen P Potter [EMAIL PROTECTED] You can't just magically invoke Larry and expect that to prove your point. Or prove that you have a point.-Simon Cozens UNIX, Perl, PHP, Web Consulting and Training http://www.unixlabs.net/~spp/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Perl scripts...
On Jul 25, Daniel Falkenberg said: I want to be able to check for errors on my Linux box before I run them in a browser. The problem is is tha when I do this all my HTML is dispalyed. I don't want to see this I want to be able to just check for any errors and display the errors only. printHTML; Don't want what's between here to be dispalyed when I run in my shell? HTML The test I usually use to determine whether or not a program is running from the command-line as opposed to a web browser is: ... if $ENV{REMOTE_ADDR}; If $ENV{REMOTE_ADDR} is true, there's a browser in play (or some evil user has manually set a REMOTE_ADDR environment variable). It works for all the cases I've used it. -- Jeff japhy Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun. Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/ Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/ Acacia Fraternity, Rensselaer Chapter. Brother #734 ** Manning Publications, Co, is publishing my Perl Regex book ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Perl scripts...
On Jul 25, Jeff 'japhy/Marillion' Pinyan said: On Jul 25, Daniel Falkenberg said: I want to be able to check for errors on my Linux box before I run them in a browser. The problem is is tha when I do this all my HTML is dispalyed. I don't want to see this I want to be able to just check for any errors and display the errors only. printHTML; Don't want what's between here to be dispalyed when I run in my shell? HTML The test I usually use to determine whether or not a program is running from the command-line as opposed to a web browser is: ... if $ENV{REMOTE_ADDR}; Err, let me clarify: print running from the web!br\n if $ENV{REMOTE_ADDR}; -- Jeff japhy Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun. Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/ Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/ Acacia Fraternity, Rensselaer Chapter. Brother #734 ** Manning Publications, Co, is publishing my Perl Regex book ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Running Perl scripts...
-Original Message- From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 1:46 AM To: [EMAIL PROTECTED] Subject: Running Perl scripts... List, I want to be able to check for errors on my Linux box before I run them in a browser. The problem is is tha when I do this all my HTML is dispalyed. I don't want to see this I want to be able to just check for any errors and display the errors only. If the errors go to STDERR, just throw away STDOUT: $ perl myscript.pl /dev/null Or am I missing something? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Running Perl scripts...
List, I want to be able to check for errors on my Linux box before I run them in a browser. The problem is is tha when I do this all my HTML is dispalyed. I don't want to see this I want to be able to just check for any errors and display the errors only. Can I run them with out print what is between my printHTML; Don't want what's between here to be dispalyed when I run in my shell? HTML statements? Thanks in advance again... Regards, Daniel Falkenberg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running perl scripts on other machines and getting feedback
On Wed, 18 Jul 2001, Westlake, Andy wrote: I have written a short perl script to report disk usage on our various systems at our site. What I would like to do is run the script from a page on our intranet and get the feedback back. Now I can do this using rsh but I am sure there is a way of doing it in perl. So any ideas please? I am going to assume you mean a script that runs on a particular machine which you are also using as a webserver. If that is the case, you just need to adapt your existing script to be a cgi script: * Have a web page with a link or form submission ( depending on whether you want to offer your users options for the script ) to the script * At the start of the script extract any user input * Next run the existing code and capture its results in variables * Build an output page including those variables You will probably find CGI.pm useful, both for extracting any input and building the output. Don't forget: use warnings, taint and strict :) Best wishes, Rachel Coleman -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Running perl scripts on other machines and getting feedback
I have written a short perl script to report disk usage on our various systems at our site. What I would like to do is run the script from a page on our intranet and get the feedback back. Now I can do this using rsh but I am sure there is a way of doing it in perl. So any ideas please? Andy Westlake -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]