[Bug 259078] [NEW PORT] textproc/p5-Number-Format-Metric: Format number with metric prefix ...missing depend for some use of p5-Data-Unixish

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Oct 2021 17:13:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259078

            Bug ID: 259078
           Summary: [NEW PORT] textproc/p5-Number-Format-Metric: Format
                    number with metric prefix  ...missing depend for some
                    use of p5-Data-Unixish
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vvelox@vvelox.net

Created attachment 228596
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228596&action=edit
git diff

Recently noticed this is a messing depend for devel/p5-Data-Unixish.


Format number with metric prefix.

format_metric(14     , {base=>10});               # => "14"
format_metric(12000  , {base=> 2, precision=>1}); # => "11.7K"
format_metric(12000  , {base=>10, precision=>1}); # => "11.7Ki"
format_metric(-0.0017, {base=>10});               # => "1.7m"

WWW: https://metacpan.org/dist/Number-Format-Metric

-- 
You are receiving this mail because:
You are the assignee for the bug.