Use Perl configuration in Genesis)

Source: Internet
Author: User
Document directory
  • 2007-03-22
Use the Perl configuration 2007-03-22tag in Genesis:

Copyright Disclaimer: During reprinting, please use hyperlinks to indicate the original source and author information of the article and this statement
Http://genesis2000.blogbus.com/logs/4826361.html

Perl scripts

1. csh.exe
2. cd c:/perl/lib/Core
3. h2ph. bat * sys /*
4. *. pH will be generated under C:/perl/site/lib /.
5. Add the following content to the C:/winnt/system32/Drivers/etc/services file:
Genesis 56753/tcp # Genesis port for scripts
6. Copy Genesis. PM and server. Pl to C:/perl/site/lib.
In this way, you do not need to specify the path for writing a program. You only need to use genesis;
7. The program starts with the following:
Use genesis;
$ F = New Genesis; the program will show you what you want to write ...........
8. Use CSH to write a calling program for genesis for NT.
Assume that the main program name is example. pl.
In addition, write a small program for calling example. pl. Its file name is call_example.csh (the file name is casual)
The content of call_example.sh is as follows:
#! /Bin/CSH
Perl $ path/example. pl must add an enter to confirm the line feed.
9. Then you can run

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.