Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to send perl output to browser?

Posted on 1998-05-02
4
Medium Priority
?
293 Views
Last Modified: 2006-11-17
Is it possible to redirect the output generated by a perl script directly to Netscape browser rather than the default <stdout> MS-DOS screen in Windows 95?  (Without using a server connection)  If so, how do I do it?
0
Comment
Question by:Erick37
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 32

Author Comment

by:Erick37
ID: 1205319
Edited text of question
0
 
LVL 5

Expert Comment

by:icd
ID: 1205320
Go to the Microsoft site and download PWS (Personal Web Server). This puts a 'server' on your W95 machine with a CGI directory. You access it without having to go on-line.

You might also find it on Microsoft refered to as IIS.
0
 

Accepted Solution

by:
obelix earned 300 total points
ID: 1205321
Write a batch file DOIT.BAT containing the following 2 lines:

 \win-appl\perl\bin\perl %1 > test.htm
 \win-appl\netsgold\Program\netscape file:///test.htm

(Change the paths to whatever you need)
Save the batch file to the same directory, where you have your Perl script. From the DOS box you can now start the Perl script by typing the command:

DOIT <script_name>

Good luck,
obelix
0
 
LVL 32

Author Comment

by:Erick37
ID: 1205322
Thanks obelix!
I guess DOS is still not dead, alas... This is a pretty good solution, however I cannot use it to process forms from FrontPage.  I have the Personal Web Server, but I have not been able to figure out how to make it recognize Perl scripts in the cgi-bin directory.  (Icd suggested this approach).
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question