doxygen-filter-perl icon indicating copy to clipboard operation
doxygen-filter-perl copied to clipboard

Support for multiple Perl scripts

Open jhwangus opened this issue 6 years ago • 3 comments

Hi, I am using this filter to process several Perl scripts and try to create a document set for the script. Each Perl script is with .pl extension. They have functions inside but no modules.

This filter put every function in the Perl scripts under 'main' class, probably due to the pre-processing into CPP. Is it possible to support Perl scripts without classes? That is:

EXTENSION_MAPPING = pm=C++ pl=C

FILTER_PATTERNS = *.pm=doxygen-filter-perl *.pl=doxygen-filter-perl-c

jhwangus avatar Sep 25 '19 19:09 jhwangus

Can you please attach a, small, self contained example (source+configuration file in a tar or zip) that allows us to reproduce the problem, i.e. should create a "CPP" file and a "C" file? Please don't add external links as they might not be persistent. Maybe someone wil have a look at that moment or can give you some hints how to use the filter.

albert-github avatar Oct 26 '19 16:10 albert-github

I've just pushed a proposed patch, pull request #25 that separates the different main classes, not completely the requested feature but probably the best / easiest that can be done.

albert-github avatar Apr 20 '20 14:04 albert-github

Code of pull request #25 has been integrated in master on github.

albert-github avatar Apr 20 '20 17:04 albert-github