I think you could use, Dispatch Table. "Tieing" strings with actions.
Please check Implementing Dispatch Tables
Hope this helps
In reply to Re^3: CLI with ARGV
by 2teez
in thread CLI with ARGV
by WhiskeyJack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |