Hexonet::Connector::Util - utility package providing useful helper methods.
This package represents a bundle of helper methods to are used by the Hexonet::Connector module and its submodules. Further more it provides methods that are useful when dealing with Backend API responses and showing outputs.
timesql(sqldatetime)
Convert the SQL datetime to Unix-Timestamp
sqltime(timestamp)
Convert the Unix-Timestamp to a SQL datetime If no timestamp given, returns the current datetime
url_encode(string)
URL-encodes string This function is convenient when encoding a string to be used in a query part of a URL
url_decode(string)
Decodes URL-encoded string Decodes any %## encoding in the given string.
base64_encode(string)
Encodes data with MIME base64 This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies.
base64_decode(string)
Decodes data encoded with MIME base64
command_encode(command)
Encode the command array in a command-string
response_to_hash(response)
Convert the response string as a hash
response_to_list_hash(response)
Convert the response string as a list hash
Hexonet GmbH
https://www.hexonet.net
MIT
To install Hexonet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hexonet
CPAN shell
perl -MCPAN -e shell install Hexonet
For more information on module installation, please visit the detailed CPAN module installation guide.