StateML::Utils - Some handy utility functions
use StateML::Utils qw( empty as_string );
Some handy uti.... you get the idea.
Returns TRUE if the single arg is not defined or of zero length. "0" is not empty. This does not have a prototype like defined() or length() because the precedance can't be set properly. Tests $_ if no parameters are passed.
warn as_str "hey!", undef.
Converts the list of parameters to a string, quoting plain scalars if need be and reporting them as undef if they are undefined. May handle other situations/structures in the future.
Does an implicit join( "", ... ) in scalar context.
Copyright 2003, R. Barrie Slaymaker, Jr., All Rights Reserved
You may use this module under the terms of the BSD, Artistic, or GPL licenses, any version.
Barrie Slaymaker <email@example.com>