- or download this
use Tie::DATA;
...
__baz__
woof woof
- or download this
use Tie::DATA(':xml'); # predefined format
...
<baz>
woof woof
</baz>
- or download this
use Tie::DATA (
sub{ ... }, # parse key/values from DATA
...
__DATA__
...
- or download this
[foo]
baz bar etc
- or download this
<foo>baz bar etc</foo>
- or download this
#define foo
baz bar etc
- or download this
<![foo[
baz bar etc
]]>
- or download this
use Tie::DATA qr(<<<<<<<<(\w*?)>>>>>>>>);
...
use Tie::DATA \&Some::Mad::Parser::parse;
- or download this
use Tie::DATA(':ini', 'proc_kv');
...
[baz]
woof woof
- or download this
use My::Big::Routine;
use Tie::DATA(':ini', 'My::Big::Routine::go');
...
{
print "$_ = $DATA{$_}\n";
}