Re: Strange behavior of an attribute
Jonathan Swartz <[email protected]> Wed, 26 Feb 2014 11:35:29 -0800
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <[email protected]> |
That is strange. What happens if you take away Base.mc temporarily? On Feb 26, 2014, at 5:49 AM, A Kobame <[email protected]> wrote: > Have the next component (/ftest.mc): > > <%class> > use Data::Dumper; > has 'field' => (isa => 'ArrayRef[Int]', default => sub{[1,3]}); > </%class> > <% Dumper $.field %> > > The Base.mc containing only: <%augment wrap><% inner() %></%augment> > > Requesting the http://localhost:5000/ftest under Poet gives a result: > > $VAR1 = []; > > Running the "mason.pl ftest.mc" gives the result: > > $VAR1 = [ > 1, > 3 > ]; > > Can please anybody tell me why? > > thank you. > ak. > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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