Hello parksbanyon, and welcome to the Monastery!
Your elsif condition is incorrect. Change it to:
elsif ($TARX eq "ini" || $TARX eq "txt")
and it should work as expected.
Hope that helps,
Update: keszler++ beat me to it!
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: if elsif else not working
by Athanasius
in thread if elsif else not working
by parksbanyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |