develooper Front page | perl.perl5.porters | Postings from August 1999

Re: perlfunc annonations or OOB enhancements?

Tom Christiansen
August 27, 1999 17:51
Re: perlfunc annonations or OOB enhancements?
Message ID:
>Adding context-sensitive function descriptions can display the
>order of the parameters when you're not sure whether $year is
>item 4 or item 5, but *do* remember that it is year - 1900.  I'd say
>that this is a common case.

Perhaps you just need a data file in the proper format.

wraeththu(tchrist)% usage strcmp
int     strcmp(a, b) char *a, *b; { return(1); }

wraeththu(tchrist)% ls -l `which usage`
    1 -rwxr-xr-x  1 tchrist  wheel         172 Mar 28  1985 /home/tchrist/scripts/usage*

wraeththu(tchrist)% cat `which usage`
#!/bin/csh -f
if ($#argv < 1) then
        echo "usage: $0 function ..."
        exit 1

while ($#argv > 0)
        set expr = "$argv[1]";
        grep "$expr" /usr/lib/lint/llib-lc
end Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About