Lines Matching defs:command
216 # Called for each command paragraph. Gets the command, the associated
218 # the command to a method named the same as the command. =cut is handled
220 sub command {
222 my $command = shift;
223 return if $command eq 'pod';
224 return if ($$self{EXCLUDE} && $command ne 'end');
225 if ($self->can ('cmd_' . $command)) {
226 $command = 'cmd_' . $command;
227 $self->$command (@_);
234 warn qq($file:$line: Unknown command paragraph: =$command$text\n);
271 # Called for a formatting code. Gets the command, argument, and a
277 my ($self, $command, $seq);
278 ($self, $command, $_, $seq) = @_;
290 return '' if ($command eq 'X' || $command eq 'Z');
293 if ($command eq 'E') {
309 if ($command eq 'S') {
316 if ($command eq 'B') { return $self->seq_b ($_) }
317 elsif ($command eq 'C') { return $self->seq_c ($_) }
318 elsif ($command eq 'F') { return $self->seq_f ($_) }
319 elsif ($command eq 'I') { return $self->seq_i ($_) }
320 elsif ($command eq 'L') { return $self->seq_l ($_, $seq) }
323 warn "$file:$line: Unknown formatting code: $command<$_>\n";
344 # All command paragraphs take the paragraph and the line number.
517 # This method is called whenever an =item command is complete (in other words,
787 =item %s:%d: Unknown command paragraph: %s
789 (W) The POD source contained a non-standard command paragraph (something of
790 the form C<=command args>) that Pod::Man didn't know about. It was ignored.
804 (W) Pod::Text encountered a C<=back> command that didn't correspond to an
805 C<=over> command.