Include constant in pod

Is it possible to include the contents of the constant in the POD for the module. Example:

use constant DEFAULT_URL => "http://www.example.com";
...
=item B<setUrl>

Change the URL to query. Default is [contents of DEFAULT_URL here]

=cut
+5
source share
1 answer

According to this link , this is not possible without any work. You can write another script to generate the POD documentation and enable this variable.

+3
source

All Articles