if ($upload eq "run") { ©_tftp_run; exit(0); } elsif ($upload eq "start") { ©_tftp_start; exit(0); } elsif ($upload) { print "\nYour destination choice for Uploads does not appear to be v +alid.\n\n" ; exit(1); }
however, when i run the program with --upload and a value other than "run" or "start", i get an error dealing with the next for loop. i would have thought that the final elsif statement would test true for something like --upload dog causijg the error statement to print and the script to exit.
humbly -c
In reply to using 'value=s' = \$value by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |