in reply to Search multiple variables
If you have access to a complete list of code and diagnoses, use them in a dispatch table.
Come, let us reason together: Spirit of the Monastery
Super Search and or Google will help you learn about use and uses.
In Section
Seekers of Perl Wisdom