NAME

blx::xsdsql::ut - Perl version and ut for blx::xsdsql

SYNOPSIS

use blx::xsdsql::ut;

DESCRIPTION

this package contain generic utilities

GLOBALS

VERSION - version number

FUNCTIONS

this module defined the followed functions

nvl(arg1) - equivalent to: defined arg1 ? arg1 : ''

nlv(arg1,arg2) - equivalent to: defined arg1 ? arg1 : arg2

nvl(arg1,arg2,arg3) - equivalent to: defined arg1 ? arg2 : arg3

nvl(arg1,arg2,arg3,argn..) - equivalent to: (nvl(arg1,arg2,arg3),argn..)

ev(args) - eval the join of args and return the result or throw $@ on error

get_attrs_value - generic method for return value of attribute

	the first param is an instance of object 
	the second param is an hash of subroutines for compute the values  
	the others params is a list of attributes name
	the method return a list of values 
 

set_attrs_value - generic method for set a value of attribute

the first param is an instance of object 
the second param is an hash of subroutines for compute the values  
the other params are a pair of NAME => VALUE
the method return a list of values after the manipulation  

EXPORT

None by default.

EXPORT_OK

nvl ev get_attrs_value set_attrs_value :all

SEE ALSO

Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.

AUTHOR

lorenzo.bellotti, <bellzerozerouno@tiscali.it>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by lorenzo.bellotti

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html