NAME
SolarBeam::Util - Utility functions for SolarBeam
SYNOPSIS
use SolarBeam::Util qw(escape escape_chars unescape_chars);
say escape_chars "foo?*";
DESCRIPTION
SolarBeam::Util contains utility functions for SolarBeam.
FUNCTIONS
escape
$str = escape $str;
escape_chars
$str = escape_chars $str;
The following values must be escaped in a search value:
+ - & | ! ( ) { } [ ] ^ " ~ * ? : \
NB: Values sent to "new" in SolarBeam::Query are automatically escaped for you.
unescape_chars
$str = unescape_chars $str;
Unescapes values escaped in "escape_chars".