This module is a source filter that allows you to use Podlite markup language in your Perl programs.
perl Makefile.PL
make
make test
make installuse Podlite;
my $x = 1;
=head1 DESCRIPTION
=para This documentation block will be filtered out during compilation,
but you can still use it for generating documentation.
my $y = 2;
print "Sum: ", $x + $y, "\n";- Source filtering - Strips Podlite markup during compilation
- Line number preservation - Accurate error reporting
- Data blocks - Access embedded data via
*DATAfilehandle
=head1 TODO
=item [x] Implement basic functionality
=item [x] Write documentation
=item [ ] Add test suite
=item [ ] Publish to CPAN=begin table :caption<Performance Benchmarks>
Operation Time (ms) Memory (MB)
Parse 45 12
Render 23 8
Export 67 15
=end table=begin nested :notify<warning> :caption<Important Note>
This feature is experimental and may change in future releases.
=end nested=begin code :lang<perl>
sub calculate {
my ($x, $y) = @_;
return $x + $y;
}
=end codeuse Podlite;
my $version = "1.0";
=begin markdown
# Project Documentation
Mix **markdown** formatting with Podlite!
## Features
- Easy to read
- Easy to write
- Works seamlessly with Perl code
Example code:
\```perl
my $result = 2 + 2;
\```
=end markdown
print "Version: $version\n";For complete documentation, run:
perldoc PodliteOr see the Podlite Specification for a comprehensive reference.
- Podlite-desktop
- Releases
- Available in stores:
- Official Website
- pod6.in - Online Pod6/Podlite converter
- Roadmap
- Project Updates
- GitHub Organization 🤩
- Funding Development
Aliaksandr Zahatski zag@cpan.org
Damian Conway - for inspiration and source filter techniques
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
