- or download this
<template>
foo = Yes
...
blort =
home_url = http://www.foo.com/some/really/long/url
</template>
- or download this
<template>
foo = Yes
...
home_url =
http://www.foo.com/some/really/long/url
</template>
- or download this
use Data::Dumper;
# This is actually in @body in the larger code
...
$Data::Dumper::Sortkeys = \%template;
print Dumper(\%template);
- or download this
use Data::Dumper;
open(TMPL, "<my.template") or die $!;
...
}
}
close TMPL;
- or download this
$VAR1 = {
'bar' => '0',
'blort' => 'home_url = http://www.foo.com/some/really/long/
+url',
'foo' => 'Yes'
};
- or download this
my $conf = new Config::General(
-ConfigFile => "pler.template",
...
}
$Data::Dumper::Sortkeys = \%config;
print Dumper(\%config);