> also
> "or die" is more preferable than "|| die"

Why is that? :) I was actually going to post a question about ambiguity 
syntax later, but here it is anyway. Are the following 4 equivalent?

1)
if ($b) {
  $a = $b;
}
else {
  $a = $c;
}

2)
$a = $b or $c;

3)
$a = $b || $c;

4)
$a = $b ? $b : $c;


Also there was an example on the web that completely threw me off. Although 
this works:

local ($/);

,I have no idea how it undefs $/. Points to a good reading on the 
subject are equally appreciated. 

Thanks

Peter



-- 
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