man > Template::Plugin::Format(3pm)

๐Ÿ“› NAME

Template::Plugin::Format โ€“ Plugin to create formatting functions

๐Ÿš€ Quick Reference

Use CaseCommandDescription
๐Ÿ–Š๏ธ Create a formatting function with a prefix [% USE format %] [% commented = format('# %s') %] Creates a subroutine that prepends # to the input string
โœจ Apply the formatting function [% commented('The cat sat on the mat') %] Returns # The cat sat on the mat
๐Ÿ”ค Add HTML bold tags [% USE bold = format('<b>%s</b>') %] Creates a subroutine that wraps the input in <b>โ€ฆ</b>
๐Ÿ”ฎ Apply bold formatting [% bold('Hello') %] Returns <b>Hello</b>

๐Ÿ“‹ SYNOPSIS

[% USE format %]
[% commented = format('# %s') %]
[% commented('The cat sat on the mat') %]

[% USE bold = format('<b>%s</b>') %]
[% bold('Hello') %]

๐Ÿ“ DESCRIPTION

The format plugin constructs subโ€‘routines which format text according to a printf()-like format string.

๐Ÿ‘ค AUTHOR

Andy Wardley <abw AT wardley.org> <http://wardley.org/>

ยฉ COPYRIGHT

Copyright (C) 1996โ€‘2007 Andy Wardley. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

๐Ÿ“š SEE ALSO

Template::Plugin

Template::Plugin::Format(3pm)
๐Ÿ“› NAME ๐Ÿš€ Quick Reference ๐Ÿ“‹ SYNOPSIS ๐Ÿ“ DESCRIPTION ๐Ÿ‘ค AUTHOR ยฉ COPYRIGHT ๐Ÿ“š SEE ALSO

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 12:33 @216.73.217.111
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format