ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf/pod.pm
(Generate patch)

Comparing deliantra/server/lib/cf/pod.pm (file contents):
Revision 1.8 by root, Tue Jul 3 01:10:38 2007 UTC vs.
Revision 1.9 by root, Tue Jul 3 06:07:07 2007 UTC

183 183
184sub load_pod($) { 184sub load_pod($) {
185 my ($path) = @_; 185 my ($path) = @_;
186 186
187 Coro::Storable::thaw cf::cache "cf::pod::as_paragraphs/$path" => [$path], 187 Coro::Storable::thaw cf::cache "cf::pod::as_paragraphs/$path" => [$path],
188 1 => sub { 188 2 => sub {
189 my ($src) = @_; 189 my ($src) = @_;
190 cf::fork_call { 190 cf::fork_call {
191 my $pod = $src->[0]; 191 my $pod = $src->[0];
192 utf8::decode $pod; 192 utf8::decode $pod;
193 Coro::Storable::freeze pom_as_paragraphs +(Pod::POM->new->parse_text ($pod)) 193 Coro::Storable::freeze pom_as_paragraphs +(Pod::POM->new->parse_text ($pod))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines