"Wiggins d'Anconia" <[EMAIL PROTECTED]> writes:
[...]
> if you don't mind dieing, or I often prefer using 'unless' then I
> don't need to worry about a dangling else, so similar to what you have
> above,
In this case I do.
>
> unless (open(FILE, "<$file")) {
> warn "Failed open: $!";
> return;
> }
Ah thanks, yes that look like what I was after.... thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>