Acme-24

 view release on metacpan or  search on metacpan

fortune/jackbauer  view on Meta::CPAN

The FAA didn't put stronger locks on the cockpit doors, they just put a picture of Jack Bauer.
%
Jack Bauer does not use condoms. He does not need to. His sperm is so fast and strong they would simultaneously fertilize and destroy any egg.  
%
Marines are often refered to as Alpha Company because they begin things. Jack Bauer is known as Omega Company because he ends them.
%
Jack Bauer doesn't have time to wear a seat belt. It is much more time-efficient for him to simply shoot anything that might cause an accident.
%
The "Burning Bush" was Jack Bauer telling Moses what to do.
%
Jack never played hide and seek as a child. Instead he played seek and afflict pain on whoever he needed to in order to get the information he wanted.  Jack still enjoys rousing rounds of this game and remains undefeated.
%
Jack Bauer visited the Grim Reaper while he was on his death bed. The Grim Reaper's last words were "The student has become the master". 
%
Jack Bauer went to an asian massage parlor. When the girl tried to give him a happy ending he shot her in the face because no one tries to rub out Jack Bauer.
%
Jack Bauer always speaks in a whisper because his normal voice will make mortal men's heads explode.
%
I have some good news, Geico just save hundreds by hiring Jack Bauer.
%
7 may have ate 9, but once Jack Bauer got through threatening 7's kids and making him cry, numbers everywhere breathed easy again.

lib/Acme/24.pm  view on Meta::CPAN


    while ($tries-- > 0 && @facts < 24) {
        my %result;
        my $feed = LWP::Simple::get($url);
        XML::RSSLite::parseRSS(\%result, \$feed);
        if (exists $result{item} && UNIVERSAL::isa($result{item}, 'ARRAY'))
        {
	    for my $fact (@{ $result{item} }) {
		next if exists $seen{$fact->{title}};
		push @facts, $fact->{title};
		$seen{$fact->{title}} = undef;
	    }
        }
        sleep 1;
    }

    if (@facts && scalar(@facts) > 24) {
        splice(@facts, 24);
    }

    return(\@facts);



( run in 0.836 second using v1.01-cache-2.11-cpan-d80b1682f3f )