System error
| error: |
Can't locate object method "header_in" via package "Apache2::RequestRec" at /var/opt/websites/bioinfo/shared/main.css line 38.
|
| context: |
| ... |
|
| 34: |
sub,sup { font-size: <% $sub %>px}
|
| 35: |
|
| 36: |
<%init>
|
| 37: |
# set browser specific values for style sheets
|
| 38: |
my $browser = new HTTP::BrowserDetect($r->header_in('User-Agent'));
|
| 39: |
|
| 40: |
#set browser specific variables
|
| 41: |
my $sub = 11;
|
| 42: |
my $s10 = 10;
|
| ... |
|
|
| code stack: |
/var/opt/websites/bioinfo/shared/main.css:38
|
raw error
Can't locate object method "header_in" via package "Apache2::RequestRec" at /var/opt/websites/bioinfo/shared/main.css line 38.
Trace begun at /opt/perl/lib/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "header_in" via package "Apache2::RequestRec" at /var/opt/websites/bioinfo/shared/main.css line 38.^J') called at /var/opt/websites/bioinfo/shared/main.css line 38
HTML::Mason::Commands::__ANON__ at /opt/perl/lib/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa75f574)') called at /opt/perl/lib/HTML/Mason/Request.pm line 1069
eval {...} at /opt/perl/lib/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /opt/perl/lib/HTML/Mason/Request.pm line 338
eval {...} at /opt/perl/lib/HTML/Mason/Request.pm line 338
eval {...} at /opt/perl/lib/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::Apache2Handler=HASH(0xa8b5a1c)') called at /opt/perl/lib/HTML/Mason/Apache2Handler.pm line 132
eval {...} at /opt/perl/lib/HTML/Mason/Apache2Handler.pm line 132
HTML::Mason::Request::Apache2Handler::exec('HTML::Mason::Request::Apache2Handler=HASH(0xa8b5a1c)') called at /opt/perl/lib/HTML/Mason/Apache2Handler.pm line 794
HTML::Mason::Apache2Handler::handle_request('HTML::Mason::Apache2Handler=HASH(0xa648cf4)', 'Apache2::RequestRec=SCALAR(0xa780830)') called at (eval 36) line 8
HTML::Mason::Apache2Handler::handler('HTML::Mason::Apache2Handler', 'Apache2::RequestRec=SCALAR(0xa780830)') called at -e line 0
eval {...} at -e line 0