P is for Practical | |
PerlMonks |
Re: multiple __DATA__ && __END__by synistar (Pilgrim) |
on Nov 20, 2003 at 15:16 UTC ( [id://308590]=note: print w/replies, xml ) | Need Help?? |
gjb's suggestion is probably what you want. But another approach you could try is storing a serialized data structure in the __DATA__ segment (for example using Data::Dumper or FreezeThaw). This allows you to store whatever you want and spares you the effort of parsing it too.
In Section
Seekers of Perl Wisdom
|
|