NAME

Data::FreqConvert - converts variables to scalars holfding frequencys of keys in values

VERSION

Version 0.03

SYNOPSIS

use  Data::FreqConvert;
use  Data::Printer;

my $data = Data::FreqConvert->new();

my %a = ("a"=>1,"b"=>1,"c"=>1);
my $a = {"a"=>1,"b"=>1,"c"=>1,"a"=>3};
my @a = ("a","b","c","a");
my $b = "a\nb\nc\nc";

my $r = $data->freq($b);
p $r;

$r = $data->freq(\@a);
p $r;

$r = $data->freq($a);
p $r;

AUTHOR

Mahiro Ando, <santex at cpan.org>

LICENSE AND COPYRIGHT

Copyright 2015 Hagen Geissler

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.