in reply to
Re^2: using switch
in thread
using switch
Sounds like you just need to use dispatching. i.e. make a hash which contains the possible commands/directions as keys, and has strings to output as values. (Or probably more useful, has coderefs as values to be run)
C.
Comment on
Re^3: using switch
In Section
Seekers of Perl Wisdom