sdfis bareword .
perl -Mstrict -e "print qq{defined\n} if defined sdf"
Bareword "sdf" not allowed while "strict subs" in use at -e line 1.
Execution of -e aborted due to compilation errors.
For more fun, try
perl -Mstrict -e "print sdf => qq{\n}"
. :
" " . Perl ( , , , ), , :
@daynames = (sun, mon, tue, wed, thu, fri, sat);
, :
@monthnames = (jan, feb, mar, apr, may, jun,
jul, aug, sep, oct, nov, dec);
? , 10- 'oct', oct(), $_, .
: ( @ysth)
E:\Home> perl -we "print sdf"
Unquoted string "sdf" may clash with future reserved word at -e line 1.
Name "main::sdf" used only once: possible typo at -e line 1.
print() on unopened filehandle sdf at -e line 1.
print , . , print $_ filehandle sdf. sdf , . , . :
E:\Home> perl -MO=Deparse -e "print sdf"
print sdf $_;
. :
E:\Home> perl -e "print asdfg, sadjkfsh"
No comma allowed after filehandle at -e line 1.
E:\Home> perl -e "print asdfg => sadjkfsh"
asdfgsadjkfsh
, => LHS, "word", .
, . use strict .