Data::Str2NumData::Str2Num - int str to int; float str to float, else undef. | |
Download |
Data::Str2Num Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Software Diamonds.
- Publisher web site:
- http://search.cpan.org/~softdia/Data-Str2Num-0.07/lib/Data/Str2Num.pm
Data::Str2Num Tags
Data::Str2Num Description
Data::Str2Num - int str to int; float str to float, else undef. Data::Str2Num - int str to int; float str to float, else undef.SYNOPSIS ##### # Subroutine interface # use Data::Str2Num qw(config str2float str2int str2integer); $float = str2float($string, ); (@strings, @floats) = str2float(@strings, ); $integer = $secspack->str2int($string); $integer = str2integer($string, ); (@strings, @integers) = str2int(@strings, ); ##### # Class, Object interface # # For class interface, use Data::SecsPack instead of $self # use Data::Str2Num; $str2num = 'Data::Str2Num'; $str2num = new Data::Str2Num; $float = $secspack->str2float($string, ); (@strings, @floats) = $secspack->str2float(@strings, ); $integer = $secspack->str2int($string); $integer = $secspack->str2integer($string, ) (@strings, @integers) = $secspack->str2int(@strings, );Generally, if a subroutine will process a list of options, @options, that subroutine will also process an array reference, @options, , or hash reference, %options, {@options}. If a subroutine will process an array reference, @options, , that subroutine will also process a hash reference, %options, {@options}. See the description for a subroutine for details and exceptions. Requirements: · Perl
Data::Str2Num Related Software