<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    App::BPOMUtils - Utilities related to BPOM

VERSION
    This document describes version 0.009 of App::BPOMUtils (from Perl
    distribution App-BPOMUtils), released on 2022-10-27.

SYNOPSIS
     # Use via the included scripts

DESCRIPTION
    This distribution includes CLI utilities related to BPOM (Badan Pengawas
    Obat dan Makanan, Indonesian equivalent of Food &amp; Drug Administration
    authority).

    *   bpom-daftar-jenis-pangan

    *   bpom-daftar-kategori-pangan

    *   bpom-daftar-kode-prefiks-reg

    *   bpom-list-food-categories

    *   bpom-list-food-types

    *   bpom-list-reg-code-prefixes

    *   bpom-show-nutrition-facts

    *   bpom-tampilkan-ing

FUNCTIONS
  bpom_list_food_categories
    Usage:

     bpom_list_food_categories(%args) -&gt; [$status_code, $reason, $payload, \%result_meta]

    List food categories in BPOM processed food division.

    This function is not exported by default, but exportable.

    Arguments ('*' denotes required arguments):

    *   code =&gt; *str*

        Only return records where the 'code' field equals specified value.

    *   code.contains =&gt; *str*

        Only return records where the 'code' field contains specified text.

    *   code.in =&gt; *array[str]*

        Only return records where the 'code' field is in the specified
        values.

    *   code.is =&gt; *str*

        Only return records where the 'code' field equals specified value.

    *   code.isnt =&gt; *str*

        Only return records where the 'code' field does not equal specified
        value.

    *   code.matches =&gt; *str*

        Only return records where the 'code' field matches specified regular
        expression pattern.

    *   code.max =&gt; *str*

        Only return records where the 'code' field is less than or equal to
        specified value.

    *   code.min =&gt; *str*

        Only return records where the 'code' field is greater than or equal
        to specified value.

    *   code.not_contains =&gt; *str*

        Only return records where the 'code' field does not contain
        specified text.

    *   code.not_in =&gt; *array[str]*

        Only return records where the 'code' field is not in the specified
        values.

    *   code.not_matches =&gt; *str*

        Only return records where the 'code' field does not match specified
        regular expression.

    *   code.xmax =&gt; *str*

        Only return records where the 'code' field is less than specified
        value.

    *   code.xmin =&gt; *str*

        Only return records where the 'code' field is greater than specified
        value.

    *   detail =&gt; *bool* (default: 0)

        Return array of full records instead of just ID fields.

        By default, only the key (ID) field is returned per result entry.

    *   exclude_fields =&gt; *array[str]*

        Select fields to return.

    *   fields =&gt; *array[str]*

        Select fields to return.

    *   name =&gt; *str*

        Only return records where the 'name' field equals specified value.

    *   name.contains =&gt; *str*

        Only return records where the 'name' field contains specified text.

    *   name.in =&gt; *array[str]*

        Only return records where the 'name' field is in the specified
        values.

    *   name.is =&gt; *str*

        Only return records where the 'name' field equals specified value.

    *   name.isnt =&gt; *str*

        Only return records where the 'name' field does not equal specified
        value.

    *   name.matches =&gt; *str*

        Only return records where the 'name' field matches specified regular
        expression pattern.

    *   name.max =&gt; *str*

        Only return records where the 'name' field is less than or equal to
        specified value.

    *   name.min =&gt; *str*

        Only return records where the 'name' field is greater than or equal
        to specified value.

    *   name.not_contains =&gt; *str*

        Only return records where the 'name' field does not contain
        specified text.

    *   name.not_in =&gt; *array[str]*

        Only return records where the 'name' field is not in the specified
        values.

    *   name.not_matches =&gt; *str*

        Only return records where the 'name' field does not match specified
        regular expression.

    *   name.xmax =&gt; *str*

        Only return records where the 'name' field is less than specified
        value.

    *   name.xmin =&gt; *str*

        Only return records where the 'name' field is greater than specified
        value.

    *   query =&gt; *str*

        Search.

    *   random =&gt; *bool* (default: 0)

        Return records in random order.

    *   result_limit =&gt; *int*

        Only return a certain number of records.

    *   result_start =&gt; *int* (default: 1)

        Only return starting from the n'th record.

    *   sort =&gt; *array[str]*

        Order records according to certain field(s).

        A list of field names separated by comma. Each field can be prefixed
        with '-' to specify descending order instead of the default
        ascending.

    *   status =&gt; *str*

        Only return records where the 'status' field equals specified value.

    *   status.contains =&gt; *str*

        Only return records where the 'status' field contains specified
        text.

    *   status.in =&gt; *array[str]*

        Only return records where the 'status' field is in the specified
        values.

    *   status.is =&gt; *str*

        Only return records where the 'status' field equals specified value.

    *   status.isnt =&gt; *str*

        Only return records where the 'status' field does not equal
        specified value.

    *   status.matches =&gt; *str*

        Only return records where the 'status' field matches specified
        regular expression pattern.

    *   status.max =&gt; *str*

        Only return records where the 'status' field is less than or equal
        to specified value.

    *   status.min =&gt; *str*

        Only return records where the 'status' field is greater than or
        equal to specified value.

    *   status.not_contains =&gt; *str*

        Only return records where the 'status' field does not contain
        specified text.

    *   status.not_in =&gt; *array[str]*

        Only return records where the 'status' field is not in the specified
        values.

    *   status.not_matches =&gt; *str*

        Only return records where the 'status' field does not match
        specified regular expression.

    *   status.xmax =&gt; *str*

        Only return records where the 'status' field is less than specified
        value.

    *   status.xmin =&gt; *str*

        Only return records where the 'status' field is greater than
        specified value.

    *   summary =&gt; *str*

        Only return records where the 'summary' field equals specified
        value.

    *   summary.contains =&gt; *str*

        Only return records where the 'summary' field contains specified
        text.

    *   summary.in =&gt; *array[str]*

        Only return records where the 'summary' field is in the specified
        values.

    *   summary.is =&gt; *str*

        Only return records where the 'summary' field equals specified
        value.

    *   summary.isnt =&gt; *str*

        Only return records where the 'summary' field does not equal
        specified value.

    *   summary.matches =&gt; *str*

        Only return records where the 'summary' field matches specified
        regular expression pattern.

    *   summary.max =&gt; *str*

        Only return records where the 'summary' field is less than or equal
        to specified value.

    *   summary.min =&gt; *str*

        Only return records where the 'summary' field is greater than or
        equal to specified value.

    *   summary.not_contains =&gt; *str*

        Only return records where the 'summary' field does not contain
        specified text.

    *   summary.not_in =&gt; *array[str]*

        Only return records where the 'summary' field is not in the
        specified values.

    *   summary.not_matches =&gt; *str*

        Only return records where the 'summary' field does not match
        specified regular expression.

    *   summary.xmax =&gt; *str*

        Only return records where the 'summary' field is less than specified
        value.

    *   summary.xmin =&gt; *str*

        Only return records where the 'summary' field is greater than
        specified value.

    *   with_field_names =&gt; *bool*

        Return field names in each record (as hash/associative array).

        When enabled, function will return each record as hash/associative
        array (field name =&gt; value pairs). Otherwise, function will return
        each record as list/array (field value, field value, ...).

    Returns an enveloped result (an array).

    First element ($status_code) is an integer containing HTTP-like status
    code (200 means OK, 4xx caller error, 5xx function error). Second
    element ($reason) is a string containing error message, or something
    like "OK" if status is 200. Third element ($payload) is the actual
    result, but usually not present when enveloped result is an error
    response ($status_code is not 2xx). Fourth element (%result_meta) is
    called result metadata and is optional, a hash that contains extra
    information, much like how HTTP response headers provide additional
    metadata.

    Return value: (any)

  bpom_list_food_types
    Usage:

     bpom_list_food_types(%args) -&gt; [$status_code, $reason, $payload, \%result_meta]

    List food types in BPOM processed food division.

    This function is not exported by default, but exportable.

    Arguments ('*' denotes required arguments):

    *   code =&gt; *str*

        Only return records where the 'code' field equals specified value.

    *   code.contains =&gt; *str*

        Only return records where the 'code' field contains specified text.

    *   code.in =&gt; *array[str]*

        Only return records where the 'code' field is in the specified
        values.

    *   code.is =&gt; *str*

        Only return records where the 'code' field equals specified value.

    *   code.isnt =&gt; *str*

        Only return records where the 'code' field does not equal specified
        value.

    *   code.matches =&gt; *str*

        Only return records where the 'code' field matches specified regular
        expression pattern.

    *   code.max =&gt; *str*

        Only return records where the 'code' field is less than or equal to
        specified value.

    *   code.min =&gt; *str*

        Only return records where the 'code' field is greater than or equal
        to specified value.

    *   code.not_contains =&gt; *str*

        Only return records where the 'code' field does not contain
        specified text.

    *   code.not_in =&gt; *array[str]*

        Only return records where the 'code' field is not in the specified
        values.

    *   code.not_matches =&gt; *str*

        Only return records where the 'code' field does not match specified
        regular expression.

    *   code.xmax =&gt; *str*

        Only return records where the 'code' field is less than specified
        value.

    *   code.xmin =&gt; *str*

        Only return records where the 'code' field is greater than specified
        value.

    *   detail =&gt; *bool* (default: 0)

        Return array of full records instead of just ID fields.

        By default, only the key (ID) field is returned per result entry.

    *   exclude_fields =&gt; *array[str]*

        Select fields to return.

    *   fields =&gt; *array[str]*

        Select fields to return.

    *   query =&gt; *str*

        Search.

    *   random =&gt; *bool* (default: 0)

        Return records in random order.

    *   result_limit =&gt; *int*

        Only return a certain number of records.

    *   result_start =&gt; *int* (default: 1)

        Only return starting from the n'th record.

    *   sort =&gt; *array[str]*

        Order records according to certain field(s).

        A list of field names separated by comma. Each field can be prefixed
        with '-' to specify descending order instead of the default
        ascending.

    *   summary =&gt; *str*

        Only return records where the 'summary' field equals specified
        value.

    *   summary.contains =&gt; *str*

        Only return records where the 'summary' field contains specified
        text.

    *   summary.in =&gt; *array[str]*

        Only return records where the 'summary' field is in the specified
        values.

    *   summary.is =&gt; *str*

        Only return records where the 'summary' field equals specified
        value.

    *   summary.isnt =&gt; *str*

        Only return records where the 'summary' field does not equal
        specified value.

    *   summary.matches =&gt; *str*

        Only return records where the 'summary' field matches specified
        regular expression pattern.

    *   summary.max =&gt; *str*

        Only return records where the 'summary' field is less than or equal
        to specified value.

    *   summary.min =&gt; *str*

        Only return records where the 'summary' field is greater than or
        equal to specified value.

    *   summary.not_contains =&gt; *str*

        Only return records where the 'summary' field does not contain
        specified text.

    *   summary.not_in =&gt; *array[str]*

        Only return records where the 'summary' field is not in the
        specified values.

    *   summary.not_matches =&gt; *str*

        Only return records where the 'summary' field does not match
        specified regular expression.

    *   summary.xmax =&gt; *str*

        Only return records where the 'summary' field is less than specified
        value.

    *   summary.xmin =&gt; *str*

        Only return records where the 'summary' field is greater than
        specified value.

    *   with_field_names =&gt; *bool*

        Return field names in each record (as hash/associative array).

        When enabled, function will return each record as hash/associative
        array (field name =&gt; value pairs). Otherwise, function will return
        each record as list/array (field value, field value, ...).

    Returns an enveloped result (an array).

    First element ($status_code) is an integer containing HTTP-like status
    code (200 means OK, 4xx caller error, 5xx function error). Second
    element ($reason) is a string containing error message, or something
    like "OK" if status is 200. Third element ($payload) is the actual
    result, but usually not present when enveloped result is an error
    response ($status_code is not 2xx). Fourth element (%result_meta) is
    called result metadata and is optional, a hash that contains extra
    information, much like how HTTP response headers provide additional
    metadata.

    Return value: (any)

  bpom_list_reg_code_prefixes
    Usage:

     bpom_list_reg_code_prefixes(%args) -&gt; [$status_code, $reason, $payload, \%result_meta]

    List known alphabetical prefixes in BPOM registered product codes.

    This function is not exported by default, but exportable.

    Arguments ('*' denotes required arguments):

    *   code =&gt; *str*

        Only return records where the 'code' field equals specified value.

    *   code.contains =&gt; *str*

        Only return records where the 'code' field contains specified text.

    *   code.in =&gt; *array[str]*

        Only return records where the 'code' field is in the specified
        values.

    *   code.is =&gt; *str*

        Only return records where the 'code' field equals specified value.

    *   code.isnt =&gt; *str*

        Only return records where the 'code' field does not equal specified
        value.

    *   code.max =&gt; *str*

        Only return records where the 'code' field is less than or equal to
        specified value.

    *   code.min =&gt; *str*

        Only return records where the 'code' field is greater than or equal
        to specified value.

    *   code.not_contains =&gt; *str*

        Only return records where the 'code' field does not contain
        specified text.

    *   code.not_in =&gt; *array[str]*

        Only return records where the 'code' field is not in the specified
        values.

    *   code.xmax =&gt; *str*

        Only return records where the 'code' field is less than specified
        value.

    *   code.xmin =&gt; *str*

        Only return records where the 'code' field is greater than specified
        value.

    *   detail =&gt; *bool* (default: 0)

        Return array of full records instead of just ID fields.

        By default, only the key (ID) field is returned per result entry.

    *   division =&gt; *str*

        Only return records where the 'division' field equals specified
        value.

    *   division.contains =&gt; *str*

        Only return records where the 'division' field contains specified
        text.

    *   division.in =&gt; *array[str]*

        Only return records where the 'division' field is in the specified
        values.

    *   division.is =&gt; *str*

        Only return records where the 'division' field equals specified
        value.

    *   division.isnt =&gt; *str*

        Only return records where the 'division' field does not equal
        specified value.

    *   division.max =&gt; *str*

        Only return records where the 'division' field is less than or equal
        to specified value.

    *   division.min =&gt; *str*

        Only return records where the 'division' field is greater than or
        equal to specified value.

    *   division.not_contains =&gt; *str*

        Only return records where the 'division' field does not contain
        specified text.

    *   division.not_in =&gt; *array[str]*

        Only return records where the 'division' field is not in the
        specified values.

    *   division.xmax =&gt; *str*

        Only return records where the 'division' field is less than
        specified value.

    *   division.xmin =&gt; *str*

        Only return records where the 'division' field is greater than
        specified value.

    *   exclude_fields =&gt; *array[str]*

        Select fields to return.

    *   fields =&gt; *array[str]*

        Select fields to return.

    *   query =&gt; *str*

        Search.

    *   random =&gt; *bool* (default: 0)

        Return records in random order.

    *   result_limit =&gt; *int*

        Only return a certain number of records.

    *   result_start =&gt; *int* (default: 1)

        Only return starting from the n'th record.

    *   sort =&gt; *array[str]*

        Order records according to certain field(s).

        A list of field names separated by comma. Each field can be prefixed
        with '-' to specify descending order instead of the default
        ascending.

    *   summary_eng =&gt; *str*

        Only return records where the 'summary_eng' field equals specified
        value.

    *   summary_eng.contains =&gt; *str*

        Only return records where the 'summary_eng' field contains specified
        text.

    *   summary_eng.in =&gt; *array[str]*

        Only return records where the 'summary_eng' field is in the
        specified values.

    *   summary_eng.is =&gt; *str*

        Only return records where the 'summary_eng' field equals specified
        value.

    *   summary_eng.isnt =&gt; *str*

        Only return records where the 'summary_eng' field does not equal
        specified value.

    *   summary_eng.max =&gt; *str*

        Only return records where the 'summary_eng' field is less than or
        equal to specified value.

    *   summary_eng.min =&gt; *str*

        Only return records where the 'summary_eng' field is greater than or
        equal to specified value.

    *   summary_eng.not_contains =&gt; *str*

        Only return records where the 'summary_eng' field does not contain
        specified text.

    *   summary_eng.not_in =&gt; *array[str]*

        Only return records where the 'summary_eng' field is not in the
        specified values.

    *   summary_eng.xmax =&gt; *str*

        Only return records where the 'summary_eng' field is less than
        specified value.

    *   summary_eng.xmin =&gt; *str*

        Only return records where the 'summary_eng' field is greater than
        specified value.

    *   summary_ind =&gt; *str*

        Only return records where the 'summary_ind' field equals specified
        value.

    *   summary_ind.contains =&gt; *str*

        Only return records where the 'summary_ind' field contains specified
        text.

    *   summary_ind.in =&gt; *array[str]*

        Only return records where the 'summary_ind' field is in the
        specified values.

    *   summary_ind.is =&gt; *str*

        Only return records where the 'summary_ind' field equals specified
        value.

    *   summary_ind.isnt =&gt; *str*

        Only return records where the 'summary_ind' field does not equal
        specified value.

    *   summary_ind.max =&gt; *str*

        Only return records where the 'summary_ind' field is less than or
        equal to specified value.

    *   summary_ind.min =&gt; *str*

        Only return records where the 'summary_ind' field is greater than or
        equal to specified value.

    *   summary_ind.not_contains =&gt; *str*

        Only return records where the 'summary_ind' field does not contain
        specified text.

    *   summary_ind.not_in =&gt; *array[str]*

        Only return records where the 'summary_ind' field is not in the
        specified values.

    *   summary_ind.xmax =&gt; *str*

        Only return records where the 'summary_ind' field is less than
        specified value.

    *   summary_ind.xmin =&gt; *str*

        Only return records where the 'summary_ind' field is greater than
        specified value.

    *   with_field_names =&gt; *bool*

        Return field names in each record (as hash/associative array).

        When enabled, function will return each record as hash/associative
        array (field name =&gt; value pairs). Otherwise, function will return
        each record as list/array (field value, field value, ...).

    Returns an enveloped result (an array).

    First element ($status_code) is an integer containing HTTP-like status
    code (200 means OK, 4xx caller error, 5xx function error). Second
    element ($reason) is a string containing error message, or something
    like "OK" if status is 200. Third element ($payload) is the actual
    result, but usually not present when enveloped result is an error
    response ($status_code is not 2xx). Fourth element (%result_meta) is
    called result metadata and is optional, a hash that contains extra
    information, much like how HTTP response headers provide additional
    metadata.

    Return value: (any)

  bpom_show_nutrition_facts
    Usage:

     bpom_show_nutrition_facts(%args) -&gt; [$status_code, $reason, $payload, \%result_meta]

    Round values and format them as nutrition fact table (ING - informasi
    nilai gizi).

    Examples:

    *   An example, in linear text format (color/emphasis is shown with
        markup):

         bpom_show_nutrition_facts(
           carbohydrate =&gt; 13.113,
           color =&gt; "never",
           fat =&gt; 0.223,
           output_format =&gt; "linear_text",
           package_size =&gt; 20,
           protein =&gt; 0.99,
           saturated_fat =&gt; 0.01,
           serving_size =&gt; 175,
           sodium =&gt; 0.223,
           sugar =&gt; 7.173
         );

        Result:

         [
           200,
           "OK",
           "*INFORMASI NILAI GIZI*  *JUMLAH PER KEMASAN (20 g*) : *Energi total 10 kkal*, Energi dari lemak 0 kkal, Energi dari lemak jenuh 0 kkal, *Lemak total 0 g (0% AKG)*, *Lemak jenuh 0 g (0% AKG)*, *Protein 0 g (0% AKG)*, *Karbohidrat total 3 g (1% AKG)*, *Gula 1 g*, *Garam (Natrium) 0 mg (0% AKG)*. /Persen AKG berdasarkan kebutuhan energi 2150 kkal. Kebutuhan energi Anda mungkin lebih tinggi atau lebih rendah./\n",
           { "cmdline.skip_format" =&gt; 1 },
         ]

    *   The same example in vetical HTML table format:

         bpom_show_nutrition_facts(
           carbohydrate =&gt; 13.113,
           fat =&gt; 0.223,
           output_format =&gt; "vertical_html_table",
           package_size =&gt; 20,
           protein =&gt; 0.99,
           saturated_fat =&gt; 0.01,
           serving_size =&gt; 175,
           sodium =&gt; 0.223,
           sugar =&gt; 7.173
         );

        Result:

         [
           200,
           "OK",
           "\n&lt;style&gt;\n  table { border-collapse: collapse; border: 1px solid; }\n  tr.has_bottom_border { border-bottom: 1pt solid black; }\n  // td:first-child { background: red; }\n&lt;/style&gt;\n&lt;table&gt;&lt;colgroup&gt;&lt;col style=\"width:16pt;\"&gt;&lt;col style=\"width:200pt;\"&gt;&lt;col style=\"width:48pt;\"&gt;&lt;col style=\"width:48pt;\"&gt;&lt;col style=\"width:36pt;\"&gt;&lt;/colgroup&gt;\n&lt;tr&gt;&lt;td colspan=5 align=\"middle\"&gt;&lt;b&gt;INFORMASI NILAI GIZI&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tbody&gt;\n&lt;tr&gt;&lt;td colspan=5&gt;&lt;b&gt;JUMLAH PER KEMASAN (20 g&lt;/b&gt;)&lt;/td&gt;&lt;/tr&gt;\n&lt;tr class=has_bottom_border&gt;&lt;td colspan=5&gt;&lt;b&gt;Energi total 10 kkal&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td colspan=3&gt;&lt;/td&gt;&lt;td colspan=2 align=\"middle\"&gt;&lt;b&gt;% AKG&lt;/b&gt;*&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td colspan=2&gt;&lt;b&gt;Lemak total&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;&lt;b&gt;0 g&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;0 %&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td colspan=2&gt;&lt;b&gt;Lemak jenuh&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;&lt;b&gt;0 g&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;0 %&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td colspan=2&gt;&lt;b&gt;Protein&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;&lt;b&gt;0 g&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;0 %&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td colspan=2&gt;&lt;b&gt;Karbohidrat total&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;&lt;b&gt;3 g&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;1 %&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td colspan=2&gt;&lt;b&gt;Gula&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;&lt;b&gt;1 g&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr class=has_bottom_border&gt;&lt;td colspan=2&gt;&lt;b&gt;Garam (Natrium)&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;&lt;b&gt;0 mg&lt;/b&gt;&lt;/td&gt;&lt;td align=\"right\"&gt;0 %&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td colspan=5&gt;&lt;i&gt;*Persen AKG berdasarkan kebutuhan energi 2150 kkal. Kebutuhan energi Anda mungkin lebih tinggi atau lebih rendah.&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;/tbody&gt;\n&lt;/table&gt;\n",
           { "cmdline.skip_format" =&gt; 1 },
         ]

    *   The same example, in vertical text format (color/emphasis is shown
        with markup):

         bpom_show_nutrition_facts(
           carbohydrate =&gt; 13.113,
           color =&gt; "never",
           fat =&gt; 0.223,
           output_format =&gt; "vertical_text_table",
           package_size =&gt; 20,
           protein =&gt; 0.99,
           saturated_fat =&gt; 0.01,
           serving_size =&gt; 175,
           sodium =&gt; 0.223,
           sugar =&gt; 7.173
         );

        Result:

         [
           200,
           "OK",
           ".---------------------------------------------------------------------------------------------------------------------.\n|                                               *INFORMASI NILAI GIZI*                                                |\n| *JUMLAH PER KEMASAN (20 g*)                                                                                         |\n| *Energi total 10 kkal*                                                                                              |\n+-----------------------|----------------------|-----------------------+----------------------|-----------------------+\n|                                                                      |                   *% AKG**                   |\n| *Lemak total*                                |                 *0 g* |                  0 % |                       |\n| *Lemak jenuh*                                |                 *0 g* |                  0 % |                       |\n| *Protein*                                    |                 *0 g* |                  0 % |                       |\n| *Karbohidrat total*                          |                 *3 g* |                  1 % |                       |\n| *Gula*                                       |                 *1 g* |                      |                       |\n| *Garam (Natrium)*                            |                *0 mg* |                  0 % |                       |\n+-----------------------|----------------------+-----------------------+----------------------+-----------------------+\n| /*Persen AKG berdasarkan kebutuhan energi 2150 kkal. Kebutuhan energi Anda mungkin lebih tinggi atau lebih rendah./ |\n`---------------------------------------------------------------------------------------------------------------------'\n",
           { "cmdline.skip_format" =&gt; 1 },
         ]

    This function is not exported by default, but exportable.

    Arguments ('*' denotes required arguments):

    *   browser =&gt; *true*

        View output HTML in browser instead of returning it.

    *   carbohydrate* =&gt; *ufloat*

        Total carbohydrate, in g/100g.

    *   color =&gt; *str* (default: "auto")

        (No description)

    *   fat* =&gt; *ufloat*

        Total fat, in g/100g.

    *   name =&gt; *str*

        (No description)

    *   output_format =&gt; *str* (default: "vertical_text_table")

        (No description)

    *   package_size* =&gt; *ufloat*

        Packaging size, in g.

    *   protein* =&gt; *ufloat*

        Protein, in g/100g.

    *   saturated_fat* =&gt; *ufloat*

        Saturated fat, in g/100g.

    *   serving_size* =&gt; *ufloat*

        Serving size, in g.

    *   sodium* =&gt; *ufloat*

        Sodium, in mg/100g.

    *   sugar* =&gt; *ufloat*

        Total sugar, in g/100g.

    Returns an enveloped result (an array).

    First element ($status_code) is an integer containing HTTP-like status
    code (200 means OK, 4xx caller error, 5xx function error). Second
    element ($reason) is a string containing error message, or something
    like "OK" if status is 200. Third element ($payload) is the actual
    result, but usually not present when enveloped result is an error
    response ($status_code is not 2xx). Fourth element (%result_meta) is
    called result metadata and is optional, a hash that contains extra
    information, much like how HTTP response headers provide additional
    metadata.

    Return value: (any)

HOMEPAGE
    Please visit the project's homepage at
    &lt;https://metacpan.org/release/App-BPOMUtils&gt;.

SOURCE
    Source repository is at
    &lt;https://github.com/perlancar/perl-App-BPOMUtils&gt;.

SEE ALSO
    &lt;https://pom.go.id&gt;

    Business::ID::BPOM

AUTHOR
    perlancar &lt;perlancar@cpan.org&gt;

CONTRIBUTING
    To contribute, you can send patches by email/via RT, or send pull
    requests on GitHub.

    Most of the time, you don't need to build the distribution yourself. You
    can simply modify the code, then test via:

     % prove -l

    If you want to build the distribution (e.g. to try to install it locally
    on your system), you can install Dist::Zilla,
    Dist::Zilla::PluginBundle::Author::PERLANCAR,
    Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two
    other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps
    required beyond that are considered a bug and can be reported to me.

COPYRIGHT AND LICENSE
    This software is copyright (c) 2022, 2021 by perlancar
    &lt;perlancar@cpan.org&gt;.

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

BUGS
    Please report any bugs or feature requests on the bugtracker website
    &lt;https://rt.cpan.org/Public/Dist/Display.html?Name=App-BPOMUtils&gt;

    When submitting a bug or request, please include a test-file or a patch
    to an existing test-file that illustrates the bug or desired feature.

</pre></body></html>