Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

run perl script

by vrempire (Sexton)
on Aug 07, 2000 at 05:43 UTC ( [id://26481]=perlquestion: print w/replies, xml ) Need Help??

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

hi guys,I have a problem here.Hope u can help me.My problem is,when I tried to run the perl script,by clicking on a button in HTML page,it asked me to save the perl script.Then,after I asked it to open it,the perl script then run in the MS-DOS,but it quickly disappear,before I can read the result.How I can make it stop before disappear so I can read the result and how I dont want to see the save dialog box?Please help me..

Replies are listed 'Best First'.
RE: run perl script
by ar0n (Priest) on Aug 07, 2000 at 06:07 UTC
    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:
    Where 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

RE: run perl script
by Russ (Deacon) on Aug 07, 2000 at 06:25 UTC
RE: run perl script
by BigJoe (Curate) on Aug 07, 2000 at 17:21 UTC
    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).


    Learn patience, you must.
    Young PerlMonk, craves Not these things.
Re: run perl script
by vrempire (Sexton) on Aug 07, 2000 at 07:06 UTC
    well,thanks 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?
      You can also change the amount of lines that the DOS window will store, so you can scroll back over more.


      You can also try to program your own pauses into the program's output, and then read it that way.


      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.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://26481]
Approved by root
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 13:52 GMT
Find Nodes?
    Voting Booth?

    No recent polls found