System error

error:  Error during compilation of /home/martink/www/htdocs/snowflakes/autohandler:
Missing right curly or square bracket at "/home/martink/www/htdocs/ line 155, at end of line
syntax error at "/home/martink/www/htdocs/ line 155, at EOF

context: 
... 
151:  % $label = "Arenh Jerrus\nof Bosmen" if $arenh && defined $label;
152:  % my $dir = $transparent ? "flakes.transparent" : "flakes";
153:  % $dir .= ".thumb" if $width <= 170;
154:  % my $file = sprintf("%s/snowflake-%s", $dir,$code);
155:  <div class=<% $class %> style="width:<% $width %>px;">
156:  % if($link) {
157:  <a href="<% $link %>">
158:  <img style="width:<% $width %>px;<% $imgstyle %>" src="<% $file %>.<% $suffix %>.png">
159:  </a>
... 
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:
Missing right curly or square bracket at "/home/martink/www/htdocs/ line 155, at end of line
syntax error at "/home/martink/www/htdocs/ line 155, at EOF



Trace begun at /usr/local/share/perl5/5.32/HTML/Mason/Interp.pm line 851
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x7f45662e9e30)', '/home/martink/www/htdocs/snowflakes/autohandler', 'HTML::Mason::Exception::Compilation=HASH(0x7f4580c97500)') called at /usr/local/share/perl5/5.32/HTML/Mason/Interp.pm line 450
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x7f45662e9e30)', '/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(0x7f45662e9e30)', '/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(0x7f45802d4678)') 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(0x7f45801672c8)') called at /usr/local/share/perl5/5.32/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f45801672c8)') called at /usr/local/share/perl5/5.32/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f4566303178)', 'Apache2::RequestRec=SCALAR(0x7f45662e4568)') called at (eval 25) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f45662e4568)') called at -e line 0
eval {...} at -e line 0