PersonalCorpus 版 (精华区)
发信人: cliff (夺命小辣椒), 信区: Unix
标 题: perl ...start a script
发信站: 紫 丁 香 (Mon Dec 6 14:10:27 1999) WWW-POST
Starting a Perl Script
Upon startup, perl looks for your script in one of the following places:
Specified line by line via -e switches on the command line.
Contained in the file specified by the first filename on the command
line. (Note that systems supporting the #! notation invoke interpreters
this way.)
Passed in implicitly via standard input. This only works if there are no
filename arguments -- to pass arguments to a stdin script you must
explicitly specify a - for the script name.
After locating your script, perl compiles it to an internal form. If the
script is syntactically correct, it is executed
--
________________
/________________/|
| | |
| 网 | |
| 络 | |
※ 来源:·紫 丁 香 bbs.hit.edu.cn·[FROM: 202.118.239.10]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:4.387毫秒