Hello,
I just releaed these two packages, PerlPoint::Package 0.38 and
Pod::PerlPoint 0.03.
PerlPoint::Package fixes a few bugs, especially in the paragraph filter
implementation. I used pfilters in a large presentation project and so I
recognized the bugs ;-) Now, with the fixes, they work pretty well for me.
Besides other fixes and small improvements, there is a new feature called
"input filters". In preparation of another project which will combine sources
by a significant number of authors which might be probably new to PerlPoint, I
thought it might be helpful to integrate POD sources directly, as POD is
very common. In a first step, I thought of a general solution for any language a
user might have sources at hand in. So finally input filters are there. (And
now you know why I wrote Pod::PerlPoint ;-)
Using input filters is pretty straight forward. First one has to define the
function to use:
\EMBED{lang=perl}
use Pod::PerlPoint 0.03;
sub pod2pp
{
my ($pod2pp, $result)=(new Pod::PerlPoint());
$pod2pp->output_string(\$result);
$pod2pp->parse_string_document(@main::_ifilterText);
$result;
}
\END_EMBED
Then, you can refer to it when embedding or including sources. Like so:
\EMBED{ifilter=pod2pp lang=pp}
=head1 POD headline
POD text.
\END_EMBED
and so:
\INCLUDE{file="source.pod" ifilter=pod2pp type=pp}
If you are interested, take a look at the new demo file demo/perlpods.pp
which processes all POD's of your running perl. (Make sure to use -active and
-safe ALL, and deactivate the cache.)
As always, I'm interested in any feedback.
Greetings
Jochen
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
I just releaed these two packages, PerlPoint::Package 0.38 and
Pod::PerlPoint 0.03.
PerlPoint::Package fixes a few bugs, especially in the paragraph filter
implementation. I used pfilters in a large presentation project and so I
recognized the bugs ;-) Now, with the fixes, they work pretty well for me.
Besides other fixes and small improvements, there is a new feature called
"input filters". In preparation of another project which will combine sources
by a significant number of authors which might be probably new to PerlPoint, I
thought it might be helpful to integrate POD sources directly, as POD is
very common. In a first step, I thought of a general solution for any language a
user might have sources at hand in. So finally input filters are there. (And
now you know why I wrote Pod::PerlPoint ;-)
Using input filters is pretty straight forward. First one has to define the
function to use:
\EMBED{lang=perl}
use Pod::PerlPoint 0.03;
sub pod2pp
{
my ($pod2pp, $result)=(new Pod::PerlPoint());
$pod2pp->output_string(\$result);
$pod2pp->parse_string_document(@main::_ifilterText);
$result;
}
\END_EMBED
Then, you can refer to it when embedding or including sources. Like so:
\EMBED{ifilter=pod2pp lang=pp}
=head1 POD headline
POD text.
\END_EMBED
and so:
\INCLUDE{file="source.pod" ifilter=pod2pp type=pp}
If you are interested, take a look at the new demo file demo/perlpods.pp
which processes all POD's of your running perl. (Make sure to use -active and
-safe ALL, and deactivate the cache.)
As always, I'm interested in any feedback.
Greetings
Jochen
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!