Re: [Mason] Problem building HTML::Mason 1.52

2014-01-18 Thread Guido Brugnara
Il 18/01/2014 22:38, Jonathan Swartz ha scritto: That's strange. I've created and uploaded a new distribution 1.53, can you folks try downloading that and see if it's the same problem? On Ubuntu precise 64bit is the same case: gdo@srv3:~$ wget

Re: [Mason] Bizarre unicode behavior in mod_perl vs CGI

2014-03-20 Thread Guido Brugnara
Il 19/03/2014 22:14, Shane McCarron ha scritto: (This message is about Mason 1.) But this ONLY happens when $m-out sends the data out via mod_perl. When in CGI mode it is perfect. I use UTF8 Plugin: see http://www.cybaea.net/Blogs/Mason-utf-8-clean.html bye gdo

Re: [Mason] Generating output where lines should start with the % character.

2014-12-03 Thread Guido Brugnara
On 03/12/2014 17:38, Jonathan Swartz wrote: On Dec 3, 2014, at 6:19 AM, Guido Brugnara g...@leader.it mailto:g...@leader.it wrote: On 03/12/2014 13:07, Jozef Mojzis wrote: Need generate an output from an Mason component where the lines should start with the '%' character

Re: [Mason] printing/echo'ing vars/arrays within mason tags?

2016-08-16 Thread Guido Brugnara
- Il 16-ago-16, alle 17:30, Hiram Gibbard ha scritto: > Hi All, > I'm wondering if there is a way to echo or print our vars or arrays within the > Mason tags? You can write to standard error, like: % use Data::Dumper; % print STDERR Dumper \%my_hash; then you can

Re: [Mason] Perl Store-able objects

2017-03-29 Thread Guido Brugnara
- Il 29-mar-17, alle 16:22, Hiram Gibbard ha scritto: > Anyone have any feed back on what might be expected from me to address the > fact > that mason is using Perl storable objects? > On Tue, Jan 31, 2017 at 11:05 AM, Hiram Gibbard < hgibb...@gmail.com > wrote: >> Hi

Re: [Mason] XHTML content type

2018-04-15 Thread Guido Brugnara
xml'); % $m->call_next; Details in: https://masonbook.houseabsolute.com/book/chapter-3.html bye Guido Brugnara > > -- > sergio. > -- Check out the vibrant tech community on one of the world's most engaging tech

Re: [Mason] XHTML content type

2018-04-15 Thread Guido Brugnara
- Il 15-apr-18, alle 14:46, sergio ser...@outerface.net ha scritto: > On 15/04/18 09:12, Guido Brugnara wrote: > >> You can create a file named "autohandler" in the web root like this: >> >> % $r->content_type('application/xhtml+xml'); >>

Re: [Mason] XHTML content type

2018-04-15 Thread Guido Brugnara
- Il 15-apr-18, alle 16:29, sergio ser...@outerface.net ha scritto: > On 15/04/18 16:50, Guido Brugnara wrote: > . > > I'm using mason2 + poet + plack + mod_perl. And as understand the > content type is a poet responsibility. Using file "/Base.mc&qu

Re: [Mason] Having configuration-data in a package with multiple instances of the same app

2019-12-19 Thread Guido Brugnara via Mason-users
- Il 19-dic-19, alle 12:05, e...@coderhacks.com ha scritto: > Hello! > > As far I see %config from your 1st sample is not available outside the > autohandler. > > Otherwise I would do it that way. > > Best regards, > Christoph > You must declare global variables. Please look at