in reply to Minimum command length matcher
%matches = (1 => 'match1', 2 => 'match2', etc... );
You could then make the 'ambiguous match' section as which was meant.. ie..
'monkey' is ambiguous. It could mean monkeylover [1] or monkeyman [2]:
The user would then enter 1 or 2, you read it on STDIN, and run the correct sub. Just an idea :)
Cheers,
KM
|
---|