s**********i 发帖数: 711 | 1 perldoc perlfunc
perldoc -f time
perldoc -f gmtime
perldoc -f localtime |
|
|
|
|
|
m*****e 发帖数: 4193 | 6 那你就自己编一个吧。perldoc -m CGI |
|
|
t****t 发帖数: 6806 | 8 其实perl的文档做得挺好的, 我说的这些在perldoc perlsub里都有
"persistent private variables" |
|
|
t****t 发帖数: 6806 | 10 quote perldoc -f readdir:
If you’re planning to filetest the return values out of a
"readdir", you’d better prepend the directory in question.
Otherwise, because we didn’t "chdir" there, it would have been
testing the wrong file.
end quote |
|
P********e 发帖数: 41 | 11 I think it's enough.
Go to check perldoc's tutorials. |
|
j*a 发帖数: 14423 | 12 看文档啊
http://perldoc.perl.org/threads.html
DESCRIPTION
Perl 5.6 introduced something called interpreter threads. Interpreter
threads are different from 5005threads (the thread model of Perl 5.005) by
creating a new Perl interpreter per thread, and not sharing any data or
state between threads by default.
locker |
|
r****t 发帖数: 10904 | 13 其实 perldoc 还不错,虽然 python 的 doctest 还是更好一些。
懂了 |
|
|
|
|
e*******o 发帖数: 4654 | 17 1.
➜ perl -MDevel::Peek -E 'Dump(-1)'
SV = IV(0x15f02a0) at 0x15f02b0
REFCNT = 1
FLAGS = (PADTMP,IOK,READONLY,pIOK)
IV = -1
this show -1 is stored as IV internally.
➜ perl -V:ivsize
ivsize='8';
the unit is bytes, so size in bit
ivszie * 8 = 64 .
2. same with C, 1$
http://perldoc.perl.org/functions/sprintf.html |
|
|
|
m**h 发帖数: 207 | 20 you mean perldoc? that's not easy to read for learning purpose. |
|
l*l 发帖数: 225 | 21 man perl
command perldoc |
|
p******f 发帖数: 162 | 22 "0x%04x" for sprintf
perldoc -f sprintf |
|
c**t 发帖数: 2744 | 23
If you install perl, try perldoc File::stat. |
|
w**n 发帖数: 88 | 24 Your syntax for opendir is wrong ...
perldoc -f opendir |
|
|
|