Listing 1: a sample Perl script.
清单1:一个示例perl脚本。
调用一个perl脚本。
Xconv.pl is a Perl script provided with xinetd.
pl是xinetd提供的perl脚本。
Because convmv is a Perl script, no compilation is necessary.
由于convmv是一个perl脚本,因此不需要编译。
I have written a Perl script that automates this process.
我写了一个perl脚本来自动化此过程。
The Perl script uses two external commands: xsltproc and wget.
Perl脚本使用两个外部命令:xsltproc和wget。
These can be extracted fairly easily with a little Perl script.
通过一个小小的Perl脚本即可轻松提取出这一切。
My Perl script USES wget to get the XML file from the NWS server.
perl脚本使用wget从NWS服务器获取XML文件。
The custom Perl script described in Listing 4 will automate this process.
清单4中说明的自定义Perl脚本将自动执行此过程。
The code in Listing 1 is a simple Perl script to test your Perl environment.
清单1中的代码是一个简单的perl脚本,用于测试Perl环境。
Listing 3 shows a Perl script that extracts this information and summarizes it.
清单3显示了用于提取这些信息、并对其进行汇总的perl脚本。
That's necessary because the output of the Perl script is what goes inside the file!
这是必需的,因为perl脚本的输出就是文件的内容!
The output from this command is read into the Perl script and sent to standard output.
该命令的输出被读入Perl脚本并发送到标准输出。
Listing 17 shows a very simple Perl script that does a direct dump of the data in WTMP.
清单17显示了一个很简单的perl脚本,该脚本用于对wtmp中的数据进行直接转储。
A Perl script is provided that will "diff" two baselines and populate a baseline record.
一个perl脚本提供两个基线的“差速器”,并构成一个基线记录。
In bytecode mode, the resulting compiled bytecode is written out to another Perl script.
在字节码的模式中,最终编译好的字节码被写入另外一个perl脚本中。
Listing 2 shows a simple Perl script used to display the memory size of a Solaris system.
清单2是一个用于显示Solaris系统内存大小的简单perl脚本。
You can also download and use a Perl script to customize your own knocking input environment.
我们也可以下载并使用一个perl脚本来定制自己的敲打输入环境。
The -m flag from perl loads that Module, the -e flag runs the following string as the perl script.
来自perl的- M标志装入该模块,- e标志将下列字符串作为perl脚本运行。
If the ij test succeeded, you are ready to run the perl script which connects to the Derby database.
如果ij测试成功了,那么就可以运行要连接到Derby数据库的perl脚本。
Best of all, by far, is that the end user of your Perl script sees absolutely nothing of any of this.
最好的是,您的perl脚本的最终用户将不会看到任何有关这些的显示。
Listing 7 shows a Perl script that accesses the E-mail folder as a client and processes the contents.
清单7显示了一个perl脚本,它可以像客户端那样访问电子邮件文件夹,并处理其中的内容。
If you do not care about how the Perl script works and just want to install it, skip to the next section.
如果您不关心这个perl脚本的工作原理,只想安装它,请跳到下一节。
The Perl script in Listing 2 checks to see if you have the required Perl modules installed on your system.
清单2中的Perl脚本检查您的系统上是否已经安装了所需的 Perl模块。
A separate Perl script is used to determine what files in the backup preparation directory can be deleted.
使用单独的perl脚本来确定可以对备份准备目录中哪些文件进行删除。
For example, we will use the Perl script below to shut down the machine gracefully when shaken by the user.
例如,使用下面的perl脚本在计算机遭到用户震动时平稳地关闭计算机。
The Perl script constructs a command pipeline that, if executed on the Linux command line, looks like this.
如果在Linux命令行中执行,perl脚本将构造一个命令管道,如下所示。
Table 2 lists Perl core functions and operators leveraged to call system commands from within a Perl script.
表2列出了用来从perl脚本中调用系统命令的Perl核心函数和操作符。
An example of the XSLT, producing the same basic output as provided by the Perl script, is shown in Listing 5.
清单5中显示了一个XSLT示例,该xslt生成了与perl脚本提供的输出相同的基本输出。
The Perl script (w4glc) located in the $INFORMIXDIR/bin directory is the worker behind the scenes of W4GL tool.
$INFORMIXDIR/bin目录中的 Perl脚本 (w4glc)是在W4GL 工具背后起作用的工具。
应用推荐