| 1 | package Text::Livedoor::Wiki::Plugin::Inline::Underbar; | ||
| 2 | |||
| 3 | 10 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 10 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 10 | ▶ | use base qw(Text::Livedoor::Wiki::Plugin::Inline); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 10 | __PACKAGE__->regex(q{%%%([^%]*)%%%}); | |
| 8 | 10 | __PACKAGE__->n_args(1); | |
| 9 | |||
| 10 | 1 | ▶ | sub process { |
|
Subroutine
process: called CC=1 SCAR=0.0
Pod
documented
| |||
| 11 | 1 | my ( $class , $inline , $line ) = @_; | |
| 12 | 1 | $line = $inline->parse($line); | |
| 13 | 1 | return ("<u>$line</u>"); | |
| 14 | } | ||
| 15 | |||
| 16 | |||
| 17 | 10 | 1; | |
| 18 | |||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Text::Livedoor::Wiki::Plugin::Inline::Underbar - Underbar Inline Plugin | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | underbar is not for a person's name. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | %%%underbar%%% | ||
| 31 | |||
| 32 | =head1 FUNCTION | ||
| 33 | |||
| 34 | =head2 process | ||
| 35 | |||
| 36 | =head1 AUTHOR | ||
| 37 | |||
| 38 | polocky | ||
| 39 | |||
| 40 | =cut | ||