daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest May 17th, 2018 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: plugins/ActionStreams/lib/ActionStreams/Event.pm
  2. ===================================================================
  3. --- plugins/ActionStreams/lib/ActionStreams/Event.pm    (revision 632)
  4. +++ plugins/ActionStreams/lib/ActionStreams/Event.pm    (working copy)
  5. @@ -4,7 +4,6 @@
  6.  use strict;
  7.  use base qw( MT::Object MT::Taggable MT::Scorable );
  8.  our @EXPORT_OK = qw( classes_for_type );
  9. -use Web::Scraper;
  10.  use HTTP::Date qw( str2time );
  11.  
  12.  our $hide_if_first_update = 0;
  13. @@ -116,6 +115,7 @@
  14.          }
  15.      }
  16.      elsif (my $scraper_params = $stream->{scraper}) {
  17. +        require Web::Scraper;
  18.          my ($foreach, $get) = @$scraper_params{qw( foreach get )};
  19.          my $scraper = scraper {
  20.              process $foreach, 'res[]' => scraper {
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top