SolarBeam::Util - Utility functions for SolarBeam
use SolarBeam::Util qw(escape escape_chars unescape_chars); say escape_chars "foo?*";
SolarBeam::Util contains utility functions for SolarBeam.
$str = escape $str;
$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.
$str = unescape_chars $str;
Unescapes values escaped in "escape_chars".
SolarBeam.
To install SolarBeam, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SolarBeam
CPAN shell
perl -MCPAN -e shell install SolarBeam
For more information on module installation, please visit the detailed CPAN module installation guide.