Hey,
I very new to mason. Have been trying to install/configure on OpenBSD3.6,
and I have the following errors.
line 27: using a hash as a reference is deprecated
line 37: using a hash as a reference is deprecated
...
23: comp_root
24: data_dir
25: die_handler
26: die_handler_overridden
27: hooks
28: system_log_file
29: system_log_separator
30: preloads ) ],
31:
...
33: autohandler_name
34: code_cache_max_size
35: data_cache_dir
36: dhandler_name
37: max_recurse
38: out_mode
39: parser
40: resolver
41: static_file_root
...
54: current_time => 'real',
55: data_cache_dir => '',
56: data_dir => undef,
57: dhandler_name => 'dhandler',
58: die_handler => sub { Carp::confess($_[0]) },
59: die_handler_overridden => 0,
60: system_log_file => undef,
61: system_log_separator => "\cA",
62: max_recurse => 32,
raw error:
error while executing /printing/archive/index.html:
Error during compilation of /var/www/htdocs/mason/header.html:
Using a hash as a reference is deprecated at
/var/www/mason/obj/mason/header.html line 27.
Using a hash as a reference is deprecated at
/var/www/mason/obj/mason/header.html line 37.
Below is the file it refers to /var/www/mason/obj/mason/header.html
package HTML::Mason::Commands;
use strict;
use vars qw($m $r);
my $_escape = \&HTML::Mason::Parser::_escape_perl_expression;
HTML::Mason::Component::FileBased->new
(
'code'=>sub {
my %ARGS;
{ local $^W; %ARGS = @_ unless (@_ % 2); }
my $_out = $m->current_sink;
$m->debug_hook($m->current_comp->path) if (%DB::);
use File::Basename;
my $basename = basename($r->uri);
if ( $basename eq 'index.html' ){
$basename = '../index.html';
}
else {
$basename = 'index.html';
}
$_out->('
<html>
<head>
<title>');
$_out->( %ARGS->{title} );
$_out->('</title>
</head>
<body bgcolor="white">
<table>
<tr>
<td><a href="');
$_out->( $basename );
$_out->('"><img border=0 src="/images/dfs.png"></a></td>
<td valign="bottom"><h1>');
$_out->( %ARGS->{title} );
$_out->('</h1></td>
</tr>
<tr><td> </td><td>
');
return undef;
},
'create_time'=>1146021652,
'object_size'=>781,
'parser_version'=>8
)
;
Any help would be great..
thanks
matthew
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users