[EMAIL PROTECTED] wrote:

> 
> No. You want to use "or", NOT "||" in these cases.....

This is fine:

        chdir $newdirloc || die;

Where you would want to use 'or' vs '||' is when something to
the left of the '|| is of higher precedence than '||' and you
don't want to bother with a bunch of extra parens.

>       *"Wagner, David --- Senior Programmer Analyst --- WGO"
> <[EMAIL PROTECTED]>*
> Sent by: [EMAIL PROTECTED]
> 
> You can do chdir($newdirloc) || # die or whatever here if directory does
> not exist or problem
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to