in reply to file dies instantly
Firstly, die with a message is preferable to exit.
I don't really see where the { "\n\n$ggg ... block fits in with either open or whatever (undisclosed) code surrounds it. The open documentation shows examples of using die.
As an alternative, take a look at the autodie pragma.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: file dies instantly
by Eily (Monsignor) on Jul 24, 2013 at 14:25 UTC |