In the start-menu, you'll see an option called "Run" or something like that. Click on it.
Type 'cmd' or if that doesn't work, 'command'. (I forget which one it is, since i don't use Windows 9x/NT much (not))
A window with the DOS prompt should pop up, at the command prompt type:
C:\Windows\>perl script.pl
Where script.pl is the name of the script you're trying to execute.
If that doesn't work, you'll either need to download and install the perl interpreter
or add your perl directory to your path.
-- ar0n | Just Another Perl Joe
| [reply] [d/l] [select] |
| [reply] |
You need to be running NT web server. (I am not sure about the personal Web server by MS for 95/98). Because what you really need to do is set up a Service for ActiveState PERL. Then the web server will interpet it. You may also need to take and do an association for the web server. (That is what my IIS admin told me).
--BigJoe
Learn patience, you must. Young PerlMonk, craves Not these things. | [reply] |
well,thanks guys..now I run the perl script from the command -line.and it make my life easier.
anyway,I would like to know ,if the result of the perl script show very fast and I cannot scroll it up,to see it,is there any way, so that it can show page by page,like hit enter when it show --more-- to see next page? | [reply] |
You can also change the amount of lines that the DOS window will store, so you can scroll back over more.
-or-
You can also try to program your own pauses into the program's output, and then read it that way.
-or-
You can pipe all of your output to a text file and then read it at your hearts content in Notepad or whatever your text editor of choice is.
Cheers!
| [reply] |
Yup, you can do this. Try piping it to the 'more' command:
perl script.pl | more
the '|' is a pipe-sign, not a capital I.
-- ar0n | Just Another Perl Joe
| [reply] [d/l] |