System error

error:  Insecure $ENV{PATH} while running with -T switch at /var/www/www.reinhammar.org/docs/olle/search/index.html line 107.
context: 
... 
103:  my $directory='/home/olle/www/';
104:  my @matches=();
105: 
106:  my $clean_q=$clean->($q);
107:  my @files=`find $directory -name '*.html' -print0 | xargs -0 grep -il '$clean_q'`;
108:  foreach my $file (@files) {
109:  $file=~s/^$directory//;
110:  push @matches, { filename=>$file, title=>$extract_title->($directory, $file) };
111:  }
... 
code stack:  /var/www/www.reinhammar.org/docs/olle/search/index.html:107
raw error






























Insecure $ENV{PATH} while running with -T switch at /var/www/www.reinhammar.org/docs/olle/search/index.html line 107.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Insecure $ENV{PATH} while running with -T switch at /var/www/www.reinhammar.org/docs/olle/search/index.html line 107.^J') called at /var/www/www.reinhammar.org/docs/olle/search/index.html line 107
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x5629922f9b90)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x5629921d7c30)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x5629921d7c30)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x56299239f8e8)', 'Apache2::RequestRec=SCALAR(0x5629922f9908)') called at (eval 23) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x5629922f9908)') called at -e line 0
eval {...} at -e line 0