Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Err, I'm very very very new to Perl. I would like to ask if syntax like this can work:
if (something complies to conditions) { do something else } unless { something screws up }I've tried like everywhere, and I still don't know. Help.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 1: if and unless
by tilly (Archbishop) on Dec 15, 2001 at 23:27 UTC | |
by c0d34w4y (Acolyte) on Dec 15, 2001 at 23:45 UTC | |
by tilly (Archbishop) on Dec 15, 2001 at 23:51 UTC | |
Re: if and unless
by Spenser (Friar) on Dec 16, 2001 at 14:16 UTC | |
Re: if and unless
by tfrayner (Curate) on Dec 16, 2001 at 21:36 UTC | |
Re: if and unless
by strat (Canon) on Dec 17, 2001 at 18:56 UTC |
Back to
Seekers of Perl Wisdom