ghenry has asked for the wisdom of the Perl Monks concerning the following question:
Dear Master Monks,
In Permissions for a cgi script, I have a simple if/else structure. I have a line where I am burning a CD, and I use die to produce a error if something bad happens with that command.
I was wondering if I could jump to the else structure straight after die, as this is where all the error logs and e-mails are handled?
I thought of next and last, but they are for loops. Any ideas?
Thanks,
Gavin.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Control Structures
by gellyfish (Monsignor) on Apr 29, 2005 at 11:06 UTC | |
by ghenry (Vicar) on Apr 29, 2005 at 11:34 UTC | |
|
Re: Control Structures
by zentara (Cardinal) on Apr 29, 2005 at 11:13 UTC | |
by tilly (Archbishop) on Apr 30, 2005 at 00:03 UTC | |
by ghenry (Vicar) on Apr 29, 2005 at 11:20 UTC | |
|
Re: Control Structures
by tcf03 (Deacon) on Apr 29, 2005 at 12:04 UTC | |
by ghenry (Vicar) on Apr 29, 2005 at 13:10 UTC | |
by ghenry (Vicar) on Apr 29, 2005 at 14:21 UTC | |
by tlm (Prior) on Apr 29, 2005 at 15:30 UTC | |
by ghenry (Vicar) on Apr 29, 2005 at 19:27 UTC |