I would like to suggest to the originator of this post that he considers one Perl's 
case-type structures instead of all of the elsif
statements:

SWITCH:
{
    if (test1) {do something; last SWITCH;}
    if (test2) {do something; last SWITCH;}
    if (test3) {do something; last SWITCH;}
...
}

I rarely use elsif's and much prefer a case statement, which might be made more 
efficient than a series of if/elsif's.

Dirk Bremer - Systems Programmer II - ESS/AMS  - NISC St. Peters
636-922-9158 ext. 652 fax 636-447-4471

[EMAIL PROTECTED]
www.nisc.cc


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to