Document directory
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