perl 入門 use strict;とは use warnings;とは

test-use-xxx-cgi-script-debug.cgi
#!/usr/bin/perl
### use strict;とは use warnings;とは
#Perl5編 第5章 安全なスクリプトを書く
#http://www.geocities.jp/ky_webid/perl5/005.html
### スクリプトエラー AddHandler cgi-script-debug .cgi
#[perlメモ]XREA系サーバでperlのCGIを動かす時の注意点
#http://blog.kumacchi.com/2009/12/perlxreaperlcgi.html
use strict;
use warnings;
use utf8 ();
print "Content-type: text/html; charset=UTF-8\n\n";
my $num = 100;
print "$num\n";