Hi Jon,
With index.mc
<%init>
$m->go("/test");
</%init>
this is index
i got an correct internal redirect to "/test.mc".
But when try the visit method either:
<%init>
$m->visit("/test");
</%init>
this is index
or in the form
<%init>
my $obuff; $m->visit({out_method => \$obuf}, "/test");
</%init>
this is index
got an 2 page long error message like:
Attribute (req) is required at
/Users/jm/perl5/lib/perl5/darwin-thread-multi-2level/Class/MOP/Class.pm line 524
Class::MOP::Class::_construct_instance('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x10213b428)',
'HASH(0x1021d4350)') called at
/Users/jm/perl5/lib/perl5/darwin-thread-multi-2level/Class/MOP/Class.pm line 497
Class::MOP::Class::new_object('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x10213b428)',
'HASH(0x1021d4350)') called at
/Users/jm/perl5/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Class.pm line
269
Moose::Meta::Class::new_object('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x10213b428)',
'HASH(0x1021d4350)').....
It is looks like a bug. :)
Thanx.
jm.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users