07 Jul 2003 15:22:49 UTC
- Distribution: StateML
- Module version: 0.0001
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (118 / 1 / 0)
- KwaliteeBus factor: 0
- 39.07% Coverage
- License: unknown
- Activity24 month
- Download (21.97KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
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 <firstname.lastname@example.org>