System error

error:  Can't locate object method "pluck" via package "Mojo::Collection" at /var/graphisoft/www/feed/feed2.xml line 85.
context: 
... 
81:  $_->{url} = $url;
82:  if ($with_content && $url) {
83:  my $t = $m->scomp('/templates/content.html', pid=>$_->{id}, category=>$_->{category}, branch=>$BRANCH);
84:  my $dom = Mojo::DOM->new($t)->xml(1);
85:  $dom->all_contents->grep(sub { $_->node eq 'comment' })->pluck('remove'); # delete html comments
86:  # Make src/href urls absolute
87:  $dom->find('[src]' )->each(sub { $_->{src} = URI->new_abs($_->{src}, $url)->as_string; });
88:  $dom->find('[href]')->each(sub { $_->{href} = URI->new_abs($_->{href}, $url)->as_string; });
89:  $_->{page_text} = "$entry_wrapper $dom";
... 
code stack:  /var/graphisoft/www/feed/feed2.xml:85
/var/graphisoft/www/feed/updated.xml:1
/var/graphisoft/www/autohandler:11
raw error






























Can't locate object method "pluck" via package "Mojo::Collection" at /var/graphisoft/www/feed/feed2.xml line 85.


Trace begun at /usr/local/share/perl/5.14.2/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "pluck" via package "Mojo::Collection" at /var/graphisoft/www/feed/feed2.xml line 85.^J') called at /var/graphisoft/www/feed/feed2.xml line 85
HTML::Mason::Commands::__ANON__('subtitle', 'Updates', 'order', 'p.last_changed DESC') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f02916e0bb0)', 'subtitle', 'Updates', 'order', 'p.last_changed DESC') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1305
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, 'subtitle', 'Updates', 'order', 'p.last_changed DESC') called at /var/graphisoft/www/feed/updated.xml line 1
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f02900da9c0)') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 958
HTML::Mason::Request::call_next('MasonX::Request::WithApacheSession=HASH(0x7f029071dcb8)') called at /var/graphisoft/www/autohandler line 11
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f0290684f20)') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 484
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 484
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('MasonX::Request::WithApacheSession=HASH(0x7f029071dcb8)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('MasonX::Request::WithApacheSession=HASH(0x7f029071dcb8)') called at /usr/share/perl5/MasonX/Request/WithApacheSession.pm line 130
MasonX::Request::WithApacheSession::exec('MasonX::Request::WithApacheSession=HASH(0x7f029071dcb8)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f028ffff418)', 'Apache2::RequestRec=SCALAR(0x7f02906fee08)') called at /var/graphisoft/progs/Mason_graphisoft_2.pl line 144
HTML::Mason::graphisoft_handler('Apache2::RequestRec=SCALAR(0x7f02906fee08)') called at -e line 0
eval {...} at -e line 0