in reply to Tab completion on the command line
You could have a look at Bash programmable Completion, but note that this is platform and shell dependent. Incidently, it has nothing to do with Perl.
Hope this helps, -gjb-
In Section
Seekers of Perl Wisdom