System error

error:  Can't locate object method "remote_ip" via package "Apache2::Connection" at /home/martink/www/mason/comp/template/circos/autohandler.site line 38.
context: 
... 
34:  <br>
35:  &#169; 2004-2010 <a href="mailto:martink@bcgsc.ca">Martin Krzywinski</a> | <a href="http://www.bcgsc.ca">Canada's Michael Smith Genome Sciences Centre</a>
36:  </div>
37: 
38:  % if ($r->connection->remote_ip !~ /^10\.9\./) {
39:  <script type="text/javascript">
40:  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
41:  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
42:  </script>
... 
code stack:  /home/martink/www/mason/comp/template/circos/autohandler.site:38
raw error






























Can't locate object method "remote_ip" via package "Apache2::Connection" at /home/martink/www/mason/comp/template/circos/autohandler.site line 38.


Trace begun at /usr/local/share/perl5/5.32/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "remote_ip" via package "Apache2::Connection" at /home/martink/www/mason/comp/template/circos/autohandler.site line 38.^J') called at /home/martink/www/mason/comp/template/circos/autohandler.site line 38
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/5.32/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f1b4b071080)') called at /usr/local/share/perl5/5.32/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl5/5.32/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl5/5.32/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl5/5.32/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl5/5.32/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f1b48b018b8)') called at /usr/local/share/perl5/5.32/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f1b48b018b8)') called at /usr/local/share/perl5/5.32/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f1b498926f0)', 'Apache2::RequestRec=SCALAR(0x7f1b4b03bb88)') called at (eval 25) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f1b4b03bb88)') called at -e line 0
eval {...} at -e line 0