如何使用 ActivePerl 运行 Perl 脚本?

2024-04-03

我最近刚刚在我的 Windows XP 上安装了 ActivePerl 5.12.2.1202C:/Perl。我是 Perl 脚本新手。

我只想运行一个 Perl 程序,其中包含一个print语句,我将其保存在记事本中,名称为ex.pl.

  1. 我怎样才能运行这个 Perl 程序?
  2. 我可以使用记事本以外的编辑器来输入 Perl 脚本吗?
  3. 如何使用 ActivePerl?

  • 运行 Perl 程序命令提示符

    start->run>cmd(将出现命令提示符),写入perl full_path_of_your_script, like
    C:\> perl hello.pl #This assumes that perl is in your PATH environment variable.

  • 有许多Perl 编辑器, 你可以 用于 Perl 脚本,例如DzSoft http://www.dzsoft.com/perl-editor.html, 明珠快运 http://www.perl-express.com/, 科莫多 编辑 http://www.activestate.com/komodo-edit等等,还可以看到http://www.perlmonks.org/?node_id=169668 http://www.perlmonks.org/?node_id=169668 and Perlfaq3 http://perldoc.perl.org/perlfaq3.html#Is-there-an-IDE-or-Windows-Perl-Editor%3f- Windows Perl 编辑器了解更多详情。

  • 看一下http://docs.activestate.com/activeperl/5.12/ http://docs.activestate.com/activeperl/5.12/, for ActivePerl 5.12 文档.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何使用 ActivePerl 运行 Perl 脚本? 的相关文章

随机推荐