The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

pod2bbcode - converts a .pod file to BBCode syntax.

SYNOPSIS

    pod2bbcode -i in.pod > out.txt
    pod2bbcode in.pod > out.txt
    pod2bbcode -hc red -ic blue -tc green > out.txt

DESCRIPTION

This program converts the POD syntax to BBCode syntax and print the result to the standard output.

OPTIONS

-i FILE, --infile=FILE

Specify the POD file to convert. When missing, the first argument is taken, i.e., these two lines are equivalent:

    pod2bbcode -i in.pod
    pod2bbcode in.pod

When both the --infile option and the first argument are missing, the POD is read from the standard input.

-hc COLOR, --headcolor=COLOR

Specify the color of heads. When missing, there won't be color specifications in generated BBCodes. COLOR is the valid color codes in BBCode syntax.

-ic COLOR, --itemcolor=COLOR

Specify the color of item names. COLOR is the valid color codes in BBCode syntax.

-tc COLOR, --textcolor=COLOR

Specify the color of texts. COLOR is the valid color codes in BBCode syntax.

-v, --version

Prints the program's version and exits.

-h, --help

Prints a help message and exits.

SEE ALSO

perlpod, Pod::BBCode, Pod::TikiWiki

AUTHOR

chaoslawful <chaoslaw@cpan.org>

This program is modified based on pod2tikiwiki program, thanks to the original author!