Thanks!
And I just figured out how to preset aliases at startup.
There is a ini-file called .perldb sourced!
lanx@nc10-ubuntu:~$ cat .perldb
sub afterinit { $DB::alias{ALIAS}='s/ALIAS/command/' }
so with your approach I may write
sub afterinit {
$DB::doccmd='perldoc';
$DB::alias{doc}='s/doc/perldoc/';
}
so now I can type:
DB<2> doc -f print
and get better results...
... now I just have to figure out the best way to call a shellscript called doc, such that I have the same syntax from shellprompt (and than I can enrich the features of perldoc for my needs 8)
lanx@nc10-ubuntu:~$ doc -k '=='
|