in reply to Re^4: Mixing documentation and data
in thread Mixing documentation and data
Yes but its considered part of __DATA__ :
Output:use strict ; use warnings ; package FOO::Messages; while(<DATA>) { print $_ ; } sub foo{} =head1 __DATA__ This is the data stuff here. =cut 1; __DATA__ data stuff here. =head1 OtherHeading Supp =cut asdfasdfasdf
Of course if the OP wants to parse out the POD bits then I guess this is a solution.perl pod.pl data stuff here. =head1 OtherHeading Supp =cut asdfasdfasdf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Mixing documentation and data
by Anonymous Monk on Feb 01, 2013 at 10:46 UTC | |
by tmharish (Friar) on Feb 01, 2013 at 10:55 UTC | |
by Anonymous Monk on Feb 01, 2013 at 11:17 UTC | |
by punch_card_don (Curate) on Feb 01, 2013 at 13:23 UTC |
In Section
Seekers of Perl Wisdom