Re: Strange behavior of an attribute
Jonathan Swartz <[email protected]> Wed, 26 Feb 2014 14:38:35 -0800
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <[email protected]> |
So far I've determined that it has to do with Poet's special handling of ArrayRef[Int]. If you remove that isa, it works. On Feb 26, 2014, at 1:56 PM, A Kobame <[email protected]> wrote: > app="testapp" > rm -rf "./$app" > poet new "$app" || exit 1 > > rm $app/comps/Base.mc > cat <<'EOF' >$app/comps/ftest.mc > <%class> > use Data::Dumper; > has 'field' => (isa => 'ArrayRef[Int]', default => sub{[1,3]}); > </%class> > <% Dumper $.field %> > EOF ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users