|
这是我的练习,怎么总出错?[php]
/home/javalee#perl -
$a="1.2345";$b="1.2354"
if($a > $b){print "a is big"}else{print "a is small"};print "\n";__END__
syntax error at - line 2, near "){"
Execution of - aborted due to compilation errors.[/php]
[php]
/home/javalee#perl -
$a=4;$b=3
if($a > $b){print "a is big"}else{print "a is small"};print "\n";__END__
syntax error at - line 2, near "){"
Execution of - aborted due to compilation errors.
/home/javalee#[/php]
这是怎么回事?...:thank
perl version
- /home/javalee#perl -e 'print "$]\n"'
- 5.008
复制代码 |
|