in reply to Re: File Handle questions
in thread File Handle questions
It looks like autodie is a very good idea. Can you give me an example how I can use my function (for logging) with autodie as I do it with die?
With die:
Thanks.unlink $filename or die LOG_MSG($par_lglvl,3,"DOUPGRADE","Could not de +lete $filename: $!");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File Handle questions
by hippo (Archbishop) on Oct 23, 2016 at 22:27 UTC | |
|
Re^3: File Handle questions
by RonW (Parson) on Oct 25, 2016 at 22:45 UTC |