Hi
I have a script that gives error

"Syntax error at /u/isldev3/exp/oper.pl line 7, near ")
  print"
Execution of /u/isldev3/exp/oper.pl aborted due to compilation errors."

$x =3D 3;
$y =3D 4;
$z =3D 3;

if  (($x & $y & $z) < 20)
  print "\n Lies below the range";

a) Is it supposed to give error?
b)If so why is the language construct so different compared to any
structured language like C?

regards
Sastry

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to