|
|
| There's more than one way to do things | |
| PerlMonks |
Control Structuresby ghenry (Vicar) |
| on Apr 29, 2005 at 10:48 UTC ( #452568=perlquestion: print w/ replies, xml ) | Need Help?? |
|
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.
Walking the road to enlightenment... I found a penguin and a camel on the way..... Fancy a yourname@perl.me.uk? Just ask!!!
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||