The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Web::MREST::Util - Miscellaneous utilities

VERSION

Version 0.261

SYNOPSIS

Miscellaneous utilities

EXPORTS

This module provides the following exports:

$JSON (singleton)
normalize_filespec (function)
pod_to_html (function)
pod_to_text (function)

FUNCTIONS

normalize_filespec

Given a filename (path) which might be relative or absolute, return an absolute version. If the path was relative, it will be anchored to the home directory of the user we are running as.

pod_to_html

Every Web::MREST resource definition includes a 'documentation' property containing a POD string. Our 'docu/html' resource converts this POD string into HTML with a little help from this routine.

pod_to_text

Convert POD string into text