Perl拾遗

来源:互联网 发布:淘宝店规则 编辑:程序博客网 时间:2024/06/07 07:02

1. $| = 1; $|缓冲输出控制标记,若设置为0,表示当前输入不经过缓存直接输出。

2. use warnings;

    -w

The warning pragma is a replacement for the command line flag -w, but the pragma is limited to the enclosing block, while the flag is global. 

原创粉丝点击