refactor with _getlines_from
allows various kind of file

#!/usr/bin/env perl
use IO::String;
use App::WIoZ;

my $wioz = App::WIoZ->new(
    font_min => 18, font_max => 64,
    filename => 'output');
my @words = $wioz->read_words( IO::String->new( <<'WORDS' ) );
word;1
words;2
tag cloud;1
WORDS
$wioz->do_layout(@words);

or

#!/usr/bin/env perl
use App::WIoZ;

my $wioz = App::WIoZ->new(
    font_min => 18, font_max => 64,
    filename => 'output');
my @words = $wioz->read_words(*DATA);
$wioz->do_layout(@words);

__DATA__
word;1
words;2
tag cloud;1
add public method `from_hash`

and refactor `read_words` with it