Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to multiple __DATA__ && __END__

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://308590]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found