Perlbug::Format is a format class Perl module.
Supplies formatting methods for object data, according to the currently supported format types:
a ascii short - minimal listings default for mail interface
A ASCII long - maximal block style listings
d debug short - a|h with object attributes (unsupported)
D debug long - A|H with object attributes (unsupported)
h html short - minimal listings default for web interface
H HTML long - maximal block style listings
i id short - minimal id style listings
I id HTML - like i, but with html links
l lean list - ascii but purely for parsing minimal data
L lean HTML - like l, but with html links
x xml short - placeholder
X XML short - placeholder
User rights determine what data is seen and how it will be presented pro option
Ascii:
guest:
user: $userid
admin:
user: $userid
pass: $passwd
Html:
< pre >
guest:
user: $userid
admin:
user: < input type=text value="$userid" >
pass: < input type=text value="$passwd" >
< submit name=change >
< /pre >
SYNOPSIS
use Perlbug::Format;
my $o_fmt = Perlbug::Format->new();
print $o_fmt->object('patch')->read('123')->format('l');
Product's homepage
Requirements:
· Perl