NAME
Net::Lyskom::Util - Utility functions for Net::Lyskom objects
SYNOPSIS
use Net::Lyskom::Util qw{:all};
DESCRIPTION
Holds a handful of utility functions. They are all exported via the :all tag.
Functions
- holl($arg)
-
Returns its argument Hollerith-encoded.
- deholl($arg)
-
Returns its argument with Hollerith-encoding removed. Almost totally useless since the network processing also removes Hollerith encoding.
- debug(@arg)
-
Prints its arguments to STDERR if the variable $debug is set.
- parse_array_stream($cref,$aref)
-
Helper function for parsing arrays out of the stream returned from the Kom server. First argument should be a reference to a function that slurps items from an array given as reference argument to it, the second argument should be a reference to the array that should be slurped.