File: FORMAT.pm

package info (click to toggle)
libdata-printer-perl 1.002001-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 748 kB
  • sloc: perl: 4,364; makefile: 7; sh: 1
file content (14 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package Data::Printer::Filter::FORMAT;
use strict;
use warnings;
use Data::Printer::Filter;

filter 'FORMAT' => \&parse;


sub parse {
    my ($format, $ddp) = @_;
    return $ddp->maybe_colorize('FORMAT', 'format');
};

1;