in reply to Mixing documentation and data
Everything after __DATA__ is considered data.
Have you tried this:package FOO::Messages; sub foo{} =head1 __DATA__ This is the data stuff here. =cut 1; __DATA__ data stuff here.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Mixing documentation and data
by Anonymous Monk on Feb 01, 2013 at 07:26 UTC | |
by tmharish (Friar) on Feb 01, 2013 at 07:30 UTC | |
by Anonymous Monk on Feb 01, 2013 at 10:13 UTC | |
by tmharish (Friar) on Feb 01, 2013 at 10:24 UTC | |
by Anonymous Monk on Feb 01, 2013 at 10:46 UTC | |
| |
Re^2: Mixing documentation and data
by KurtZ (Friar) on Feb 02, 2013 at 10:00 UTC |
In Section
Seekers of Perl Wisdom