Hello Daniel,
Wednesday, December 05, 2001, Daniel Falkenberg <[EMAIL PROTECTED]> wrote:
DF> Please don't stree to much over this one but, is there an easier way of
DF> writing this?
DF> while(1){
DF> if ($status == 1) {
DF> #Do this sub...
DF> sub();
DF> elsif ($status == 1) {
DF> #Do this other sub...
DF> sub2();
DF> } else {
DF> #Continue while loop...
DF> }
DF> }
DF> Can I make it smaller. I want to know this to improve my Perl skills.
perldoc -q switch
Best wishes,
Maxim mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]