我正在学习用Perl编写CGI应用程序 - Kevin Meltzer.布伦特米哈尔斯基
本书中的脚本大多以此开头:
#!"c:\strawberry\perl\bin\perl.exe" -wT
# sales.cgi
$|=1;
use strict;
use lib qw(.);
Run Code Online (Sandbox Code Playgroud)
什么是$ | = 1行; 如何隔离它,例如.$ | = 1; 或$ | = 1; ?为什么要使用严格; 在$ | = 1之后; ?
谢谢
perl ×1