随笔分类 - Perl ETC
摘要:正则表达式有三种不同形式(匹配(m/ /),替换(s/ / /eg)和转换(tr/ / /))。
阅读全文
摘要:net use 使用 一 net use作用Net use将计算机与网络其他计算机共享资源连接或断开,或者显示关于计算机共享连接的信息。一般的我们从网络路径拷贝文件到本地,或从本地拷贝文件到一个网络路径,但是如果一个网络路径太长的话,有的时候会有问题,这个时候的解决办法就是先把网络路径映射为本地的一个盘符,然后使用这个映射的盘符代替网络路径。还有如果某些网络其他的计算机的共...
阅读全文
摘要:用perl操作注册表的一些基本函数 版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明 http://n0thing.blogbus.com/logs/237690.html 一 Open(): 语法: $object->Open($RegistryObj,$hKey); $object A part of the registry. $RegistryObj The ke...
阅读全文
摘要:有三种:system,exec,``(反引号).1. system:执行完命令后,继续执行perl script;输出到STDOUT。2. exec:一执行这条命令,perl就退出了;输出到STDOUT。3.(my $output =) ``:执行完命令后,继续执行perl script;返回命令的输出到$output。即便是只是这样写:``,虽然没有variable接收返回,perl还是尽力尝试...
阅读全文
摘要:Pragma liblib - manipulate @INC at compile timeDESCRIPTION This is a small simple module which simplifies the manipulation of @INC at compile time. It is typically used to add extra directories to per...
阅读全文
摘要:Making References References can be created in several ways. By using the backslash operator on a variable, subroutine, or value. (This works much like the & (address-of) operator in C.) This typ...
阅读全文
摘要:---------------------- Windows XP’s Run command provides a quick and easy way for experienced users to open files without the need to navigate through the Start menu or brows...
阅读全文
摘要:Truth and Falsehood The number 0, the strings '0' and '' , the empty list () , and undef are all false in a boolean context. All other values are true. Negation of a true value by ! or not returns ...
阅读全文

浙公网安备 33010602011771号