Mason 2 doesn't have anything itself to access the web environment. Is there any way to call Dancer's functions from a Mason template?
On Dec 9, 2011, at 4:27 AM, Stephen Fenwick-Paul wrote: > I expect this is a question I should already known the answer to, but I need > to ask. > > How do I get hold of my server's name within the template. In the bad old > days one could grab it from %ENV. > > If I Dumper of $m I can see the server name under vairious structures, but I > assume this is a most inelegant way of accessing it. > > thanks > > Stephen > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/_______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users