Mason error

error in file:   /var/lib/mason/obj/db/people/autohandler
 
line 182:  syntax error
line 226:  syntax error
line 226:  Global symbol "$_out" requires explicit package name
line 228:  Global symbol "$person_info" requires explicit package name
line 230:  Global symbol "$_out" requires explicit package name
line 233:  Global symbol "$display_set" requires explicit package name
line 235:  Global symbol "$_out" requires explicit package name
line 237:  Global symbol "$_out" requires explicit package name
line 237:  Global symbol "$person_info" requires explicit package name
line 238:  Global symbol "$_out" requires explicit package name
line 239:  Global symbol "$_out" requires explicit package name
line 239:  Global symbol "$name_gif_width" requires explicit package name
line 240:  Global symbol "$_out" requires explicit package name
line 241:  Global symbol "$_out" requires explicit package name
line 241:  Global symbol "$name_gif_height" requires explicit package name
line 242:  Global symbol "$_out" requires explicit package name
line 247:  Global symbol "$_out" requires explicit package name
line 251:  Global symbol "$_out" requires explicit package name
line 253:  Global symbol "$person_info" requires explicit package name
line 253:  Global symbol "$display_set" requires explicit package name
line 253:  Global symbol "$person_info" requires explicit package name
line 255:  Global symbol "$_out" requires explicit package name
line 257:  Global symbol "$_out" requires explicit package name
line 257:  Global symbol "$person_info" requires explicit package name
line 258:  Global symbol "$_out" requires explicit package name
line 262:  Global symbol "$_out" requires explicit package name
line 264:  Global symbol "$person_info" requires explicit package name
line 264:  Global symbol "$display_set" requires explicit package name
line 264:  Global symbol "$person_info" requires explicit package name
line 266:  Global symbol "$_out" requires explicit package name
line 268:  Global symbol "$_out" requires explicit package name
line 268:  Global symbol "$person_info" requires explicit package name
line 269:  Global symbol "$_out" requires explicit package name
line 273:  Global symbol "$_out" requires explicit package name
line 278:  Global symbol "$_out" requires explicit package name
line 279:  Global symbol "$_out" requires explicit package name
line 286:  Global symbol "$_out" requires explicit package name
line 288:  Global symbol "$_out" requires explicit package name
line 292:  syntax error
context:  
1:  package HTML::Mason::Commands;
2:  use strict;
3:  use vars qw($m $r);
4:  my $_escape = \&HTML::Mason::Parser::_escape_perl_expression;
... 
178:  ');
179:  my $name_utf=encode("utf8", decode("big5", $person_info->{name_big5}));
180:  my $name_gbk=big5_to_gb($person_info->{name_big5});
181:  my $name_gbk_utf=encode("utf8", decode("gb2312", $name_gbk));
182:  if (index($person_info->{name_big5}, "ľO") { $name_utf=$name_gbk_utf; }
183:  $_out->(' <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
184:  ');
185:  if ($name_utf eq $name_gbk_utf) {
186:  $_out->(' <font size="+2"><b><A HREF="/db/people/view.mhtml?id=');
... 
222:  $_out->(' </TD>
223:  </TR>
224:  ');
225:  }
226:  $_out->('
227:  ');
228:  if ($person_info->{name_big5})
229:  {
230:  $_out->(' <TR>
231:  <TD>
232:  ');
233:  if ($display_set eq 'eng')
234:  {
235:  $_out->('<!--
236:  <img src="/perl/showgif?text=');
237:  $_out->( uri_escape($person_info->{name_big5}) );
238:  $_out->('" WIDTH="');
239:  $_out->( $name_gif_width );
240:  $_out->('" HEIGHT="');
241:  $_out->( $name_gif_height );
242:  $_out->('">
243:  -->
244: 
245:  ');
246:  }
247:  $_out->(' </TD>
248:  </TR>
249:  ');
250:  }
251:  $_out->('
252:  ');
253:  if ($person_info->{name_gd} && $display_set eq 'eng' && $person_info->{name_py} ne " ")
254:  {
255:  $_out->('<!--
256:  <TR> <TD><b><font size="-2">Cantonese: ');
257:  $_out->( $person_info->{name_gd} );
258:  $_out->('</font></b></TD> </TR>
259:  -->
260:  ');
261:  }
262:  $_out->('
263:  ');
264:  if ($person_info->{name_py} && $display_set eq 'eng' && $person_info->{name_py} ne " ")
265:  {
266:  $_out->('<!--
267:  <TR> <TD><b><font size="-2">Mandarin: ');
268:  $_out->( $person_info->{name_py} );
269:  $_out->('</font></b></TD> </TR>
270:  -->
271:  ');
272:  }
273:  $_out->('
274:  </TABLE>
275: 
276: 
277:  ');
278:  $_out->( $m->call_next );
279:  $_out->('
280: 
281:  </CENTER>
282: 
283:  ');
284:  # FOOTER
285:  $m->comp('/db/common/footer.mhtml');
286:  $_out->('
287:  ');
288:  $_out->('
289:  ');
290:  return undef;
291: 
292:  },
293:  'create_time'=>1594137733,
294:  'declared_args'=> {
295:  '$display_set' => {
296:  'default' => ' \'eng\''
... 
code stack:  


raw_error




























raw error:
 






























Error during compilation of /var/www/db/people/autohandler:
syntax error at /var/lib/mason/obj/db/people/autohandler line 182, near ") {"
syntax error at /var/lib/mason/obj/db/people/autohandler line 226, near "$_out"
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 226.
Global symbol "$person_info" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 228.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 230.
Global symbol "$display_set" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 233.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 235.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 237.
Global symbol "$person_info" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 237.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 238.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 239.
Global symbol "$name_gif_width" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 239.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 240.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 241.
Global symbol "$name_gif_height" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 241.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 242.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 247.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 251.
Global symbol "$person_info" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 253.
Global symbol "$display_set" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 253.
Global symbol "$person_info" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 253.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 255.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 257.
Global symbol "$person_info" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 257.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 258.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 262.
Global symbol "$person_info" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 264.
Global symbol "$display_set" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 264.
Global symbol "$person_info" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 264.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 266.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 268.
Global symbol "$person_info" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 268.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 269.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 273.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 278.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 279.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 286.
Global symbol "$_out" requires explicit package name at /var/lib/mason/obj/db/people/autohandler line 288.
syntax error at /var/lib/mason/obj/db/people/autohandler line 292, near "}"
/var/lib/mason/obj/db/people/autohandler has too many errors.