2009年1月16日星期五

[PerlChina] perl标量与列表和散列的一点疑问

-q perlfaq-search-regexp
The -q option takes a regular expression as an
argument. It will search the question headings in
perlfaq[1-9] and print the entries matching the regular
expression. Example: "perldoc -q shuffle"

所以,其实真正遇到问题时的用法是给关键词,比如:perldoc -q require use difference
这样就能得到答案了(如果有的话)。

Jester

----- Original Message -----
From: "Changying Li" <lchangying@gmail.com>
To: <perlchina@googlegroups.com>
Sent: Friday, January 16, 2009 5:05 PM
Subject: [PerlChina] Re: perl标量与列表和散列的一点疑问


> yonghua <yonghua_peng@yahoo.com.cn> writes:
>
> > 相同的文件名、LIB名,perl只会load一次,见%INC的描述。
> > do是强制load,它与require和use的区别请见:
> >
> > perldoc -q 'What's the difference between require and use?'
> perldoc 也能这样用啊,很惭愧,现在才知道。

--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina 论坛"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

没有评论: