Hey all, Please don't stree to much over this one but, is there an easier way of writing this?
while(1){
if ($status == 1) {
#Do this sub...
sub();
elsif ($status == 1) {
#Do this other sub...
sub2();
} else {
#Continue while loop...
}
}
Can I make it smaller. I want to know this to improve my Perl skills.
Regards,
Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
