in reply to Question about warn statement
I'd probably do something like this:
-- vek --my $x; open (FILE, ">temp") || do { warn "error message"; $x = 1; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Question about warn statement
by Not_a_Number (Prior) on Aug 22, 2003 at 16:51 UTC | |
by vek (Prior) on Aug 22, 2003 at 16:57 UTC | |
by Not_a_Number (Prior) on Aug 22, 2003 at 17:01 UTC |