Permalink
Browse files

Mark Pod::Block.content as deprecated

  • Loading branch information...
hoelzro committed Aug 19, 2014
1 parent fb58e1f commit 358271b65b049fde8f1c8832051aeaca2124339c
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/core/Pod.pm
View
@@ -31,6 +31,11 @@ my class Pod::Block {
multi method gist(Pod::Block:D:) {
pod-gist(self)
}
method content { # is DEPRECATED doesn't work in settings
DEPRECATED("Pod::Block.contents");
@.contents
}
}
my class Pod::Block::Para is Pod::Block {

0 comments on commit 358271b

Please sign in to comment.