POE-Component-IRC-PluginBundle-WebDevelopment

 view release on metacpan or  search on metacpan

lib/POE/Component/IRC/Plugin/WWW/Lipsum.pm  view on Meta::CPAN

            qw( who channel  message  type what ),
    }
}

sub _make_poco_call {
    my $self = shift;
    my $data_ref = shift;

    my %args;
    @args{ qw/amount what start html/ }
    = map lc, split m|[/\s,]+|, $data_ref->{what};

    $args{what} ||= 'words';
    $args{amount} ||= '15';

    if ( defined $args{html} and $args{html} =~ /yes/ ) {
        $args{html} = 1
    }
    else {
        delete $args{html};
    }



( run in 1.206 second using v1.01-cache-2.11-cpan-71847e10f99 )