System error

error:  Error during compilation of /home/martink/www/htdocs/snowflakes/autohandler:
"my" variable %ARGS masks earlier declaration in same scope at /home/martink/www/htdocs/snowflakes/autohandler line 122.
syntax error at /etc/httpd/mason/mk/obj/2535643978/public/snowflakes/autohandler.obj line 1, next token ???
Unmatched right curly bracket at /home/martink/www/htdocs/snowflakes/autohandler line 164, at end of line
(Might be a runaway multi-line '' string starting on line 162)
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 164, near "}"
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 166, near "}"
(Might be a runaway multi-line '' string starting on line 165)
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 169, near "}"
(Might be a runaway multi-line '' string starting on line 168)
Unmatched right curly bracket at /home/martink/www/htdocs/snowflakes/autohandler line 173, at end of line
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 173, near "}"
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 112, near "}"
Can't use global $^W in "my" at /home/martink/www/htdocs/snowflakes/autohandler line 123, near "local $^W"
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 61, near "}"
/home/martink/www/htdocs/snowflakes/autohandler has too many errors.
context: 
1: 
2:  <%init>
3: 
4:  my $ip = $ENV{REMOTE_ADDR};
5:  if($ip =~ /^35[.]192[.]61) {
... 
57:  "mb"=>{caption=>"The effect of the `\\mu` parameter on the shape of a snowflake.", file=>"snowflakes.m.black", faa=>"21-snowflake-simulation-martin-krzywinski.html"},
58:  };
59:  return $posters;
60:  </%perl>
61:  </%method>
62: 
63:  <%method leadingquote>
64:  <%perl>
65:  my @pg = ("The snowflake was born on a cold, winter's day far up in the sky, many miles above earth.",
... 
108:  % if ($text) {
109:  &l<%$prefix%>quo;<% $text %>&r<%$prefix%>quo;
110:  % }
111:  <%args>
112:  $text=>undef
113:  $double=>undef
114:  </%args>
115:  </%method>
116: 
... 
118:  % return "Gravner-Griffeath Snowflake Simulation by Martin Krzywinski and Jake Lever";
119:  </%method>
120: 
121:  <%method masthead>
122:  % my $n = 7;
123:  % my @codes = (sort { rand() <=> rand() } $m->comp("oddities.mhtml:oddflakes"))[0..$n-1];
124:  % my @idx = map { $cache->{by}{code}{$_} } @codes;
125:  % my @flakes = map { $cache->{flakes}[$_] } @idx;
126:  <div class=masthead>
127: 
... 
160:  % } elsif ($flakelink) {
161:  <a href="flake.mhtml?flake=<% $name %>">
162:  <img style="width:<% $width %>px;<% $imgstyle %>" src="<% $file %>.<% $suffix %>.png">
163:  </a>
164:  % } else {
165:  <img style="width:<% $width %>px;<% $imgstyle %>" src="<% $file %>.<% $suffix %>.png">
166:  % }
167:  % if (defined $label) {
168:  <div class=flakelabel><% $label %></div>
169:  % }
170:  </div>
171:  <%args>
172:  $flake => undef
173:  $width => 100
174:  $suffix => "tf"
175:  $link => undef
176:  $flakelink => 1
177:  $label => undef
... 
code stack:  /usr/local/share/perl5/5.32/HTML/Mason/Interp.pm:450
/usr/local/share/perl5/5.32/HTML/Mason/Interp.pm:773
/usr/local/share/perl5/5.32/HTML/Mason/Component.pm:333
/usr/local/share/perl5/5.32/HTML/Mason/Request.pm:440
raw error






























Error during compilation of /home/martink/www/htdocs/snowflakes/autohandler:
"my" variable %ARGS masks earlier declaration in same scope at /home/martink/www/htdocs/snowflakes/autohandler line 122.
syntax error at /etc/httpd/mason/mk/obj/2535643978/public/snowflakes/autohandler.obj line 1, next token ???
Unmatched right curly bracket at /home/martink/www/htdocs/snowflakes/autohandler line 164, at end of line
  (Might be a runaway multi-line '' string starting on line 162)
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 164, near "}"
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 166, near "}"
  (Might be a runaway multi-line '' string starting on line 165)
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 169, near "}"
  (Might be a runaway multi-line '' string starting on line 168)
Unmatched right curly bracket at /home/martink/www/htdocs/snowflakes/autohandler line 173, at end of line
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 173, near "}"
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 112, near "}"
Can't use global $^W in "my" at /home/martink/www/htdocs/snowflakes/autohandler line 123, near "local $^W"
syntax error at /home/martink/www/htdocs/snowflakes/autohandler line 61, near "}"
/home/martink/www/htdocs/snowflakes/autohandler has too many errors.


Trace begun at /usr/local/share/perl5/5.32/HTML/Mason/Interp.pm line 851
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x7f457dcdc1b8)', '/home/martink/www/htdocs/snowflakes/autohandler', 'HTML::Mason::Exception::Compilation=HASH(0x7f45567544d8)') called at /usr/local/share/perl5/5.32/HTML/Mason/Interp.pm line 450
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x7f457dcdc1b8)', '/snowflakes/autohandler') called at /usr/local/share/perl5/5.32/HTML/Mason/Interp.pm line 773
HTML::Mason::Interp::find_comp_upwards('HTML::Mason::Interp=HASH(0x7f457dcdc1b8)', '/snowflakes', 'autohandler') called at /usr/local/share/perl5/5.32/HTML/Mason/Component.pm line 333
HTML::Mason::Component::parent('HTML::Mason::Component::FileBased=HASH(0x7f457ca40978)') called at /usr/local/share/perl5/5.32/HTML/Mason/Request.pm line 440
eval {...} at /usr/local/share/perl5/5.32/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f456d4db2c8)') called at /usr/local/share/perl5/5.32/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f456d4db2c8)') called at /usr/local/share/perl5/5.32/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f457dccc010)', 'Apache2::RequestRec=SCALAR(0x7f457e4e3d60)') called at (eval 25) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f457e4e3d60)') called at -e line 0
eval {...} at -e line 0