if($TARX eq "exe") { &binary ;} elsif($TARX eq "ini" || "txt") { &text ;} else { &file_man ;}
The first two (exe and txt/ini) find the correct sub's but the else (ie any other file type) is not, its going to the text sub. I tried a multitude of options and rearrangememts prior to posting, but to no avail. I'm stumped.
In reply to if elsif else not working by parksbanyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |