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.30 by root, Wed Nov 21 10:29:51 2012 UTC vs.
Revision 1.31 by root, Wed Nov 21 12:47:04 2012 UTC

196package cf::pod; 196package cf::pod;
197 197
198sub pom_as_paragraphs_ng($) { 198sub pom_as_paragraphs_ng($) {
199 my ($pom) = @_; 199 my ($pom) = @_;
200 200
201 # we suckers use global variables, unfortunately.
201 local $indent = 0; 202 local $indent = 0;
202 local $level = 1; 203 local $level = 1;
203 local @result = ( { } ); 204 local @result = ( { } );
204 205
205 $pom->present ("cf::pod::AsParagraphs"); 206 $pom->present ("cf::pod::AsParagraphs");
208} 209}
209 210
210sub pom_as_paragraphs($) { 211sub pom_as_paragraphs($) {
211 my ($pom) = @_; 212 my ($pom) = @_;
212 213
213 # we suckers use global variables, unfortunately.
214 my $guard = cf::lock_acquire "cf::pod::as_paragraphs"; 214 my $guard = cf::lock_acquire "cf::pod::as_paragraphs";
215 215
216 $pom->pom_as_paragraphs_ng 216 $pom->pom_as_paragraphs_ng
217} 217}
218 218

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines