Easily access Perl 6 documentation within a Perl 5 program with this software. No need to switch between different programs or search for documentation outside your code. Improve your programming workflow with this helpful tool.
Now, you can freely use Perl 6 style documentation in your program with a simple comment. For instance, by using "=comment", you can add documentation to your program in the new Pod mark-up notation.
This module pre-processes your program's code from the exact point that you use the module. It strips out any Perl 6 documentation specified in Synopsis 26. Essentially, with Perl6::Perldoc, as long as your program begins with "use Perl6::Perldoc", you can add comprehensive documentation that uses the new Pod mark-up notation and still run the program correctly under the Perl 5 interpreter.
Moreover, this module identifies any =DATA sections present in the stripped documentation and makes them accessible to your program in three different ways. Firstly, as a single concatenated string in the $DATA package variable. Secondly, as a sequence of strings (one per =DATA block) in the @DATA package variable. Lastly, as a single concatenated input stream in the *DATA filehandle.
In summary, Perl6::Perldoc is an exceptional software tool that simplifies the process of using Perl 6 documentation in a Perl 5 program. It provides a variety of benefits, such as the ability to document using new Pod mark-up notation and the convenience of utilizing =DATA blocks.
Version 0.0.5: N/A