App-TextFragmentUtils

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    200. Third element ($payload) is optional, the actual result. Fourth
    element (%result_meta) is called result metadata and is optional, a hash
    that contains extra information.

    Return value: Fragment (array)

    Will return status 200 if fragment is found. Result will be a hash with
    the following keys: "raw" (string), "payload" (string), "attrs" (hash),
    "id" (string, can also be found in attributes).

    Return 404 if fragment is not found.

  list_fragments
    Usage:

     list_fragments(%args) -> [$status_code, $reason, $payload, \%result_meta]

    List fragments in text.

    This function is not exported.

lib/App/TextFragmentUtils.pm  view on Meta::CPAN

element (%result_meta) is called result metadata and is optional, a hash
that contains extra information.

Return value: Fragment (array)


Will return status 200 if fragment is found. Result will be a hash with the
following keys: C<raw> (string), C<payload> (string), C<attrs> (hash), C<id>
(string, can also be found in attributes).

Return 404 if fragment is not found.



=head2 list_fragments

Usage:

 list_fragments(%args) -> [$status_code, $reason, $payload, \%result_meta]

List fragments in text.



( run in 0.997 second using v1.01-cache-2.11-cpan-39bf76dae61 )