Camelia, the Perl 6 bug

IRC log for #mojo, 2013-06-16

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 kwak I'm writing a RESTful app, so different errors need to set the status and json response accordingly.
00:01 tba still, shouldn't that be the responsibility of individual controllers/actions, since they know what to render?
00:01 kwak True.
00:02 tba if you're looking for a central way to handle the actual exceptions, you could create a helper which parses the exceptions and makes  appropriate render calls for you
00:02 kwak But the exception itself holds all the information my RESTful app needs.
00:03 kwak [00:54] <kwak> Hmm, it's generally for when I'm doing DBIC actions. So I think I will write a plugin which adds something like dbic_eval and traps and handles exceptions specific to dbic.
00:03 kwak Yeah, that's where I was heading. Seems like the most logical approach.
00:04 kwak By doing that though, it almost seems the same as using a hook to catch exceptions. :)
00:05 tba what about replacing the exception page? then you can render an appropriate message depending on the exception
00:05 kwak Hmm. Can the status be set from the exception templatee?
00:06 tba not sure, I'd expect it can, or create a helper for it :)
00:06 kwak heh
00:07 tba if the response object is in the stash, you can just set it using that
00:07 tba (never looked, it might already be added by mojo)
00:07 tba if not, you could add it using a before_dispatch hook
00:08 tba but that still leaves the exception rendering to the view
00:09 kwak Cheers for listening to my plight. I'm thinking I might make a helper called rest_eval (or something) which wraps a coderef and checks the reference to any raised exceptions. If it finds something, it'll set the appropriate status and return.
00:09 bpmedley kwak: Do you have example code?
00:10 kwak bpmedley: More code than I can shake a stick at. Not sure how to strip it back to show what I'm trying to achieve though.
00:10 * kwak scratches head
00:14 kwak bpmedley: http://pastebin.com/HaMzpZ69
00:14 kwak This kind of explains my approach.
00:16 kwak I've gone down the fat model track, which allows testing the model directly, and via mojolcious.
00:16 tba do you even need to use exceptions?
00:17 kwak I think so? If there's no error, it will return the object just added.
00:18 kwak if (my $user $resultset->add({ ... })) { ... }
00:18 * kwak sneaks an = in the snippet
00:19 tba what does Schema::Base::ResultSet return on error?
00:19 tba i.e. when you call SUPER::add
00:20 kwak tba: http://pastebin.com/vs5hLXwY
00:21 tba undef if specific error and mojolicious otherwise dies?
00:22 kwak I'm using DBIx::Class::Validation to make sure all the fields are OK, but it raises an exception if a form validator profile isn't a success.
00:22 kwak Not sure I follow.
00:23 tba im not really sure what you're trying to achieve, you use exceptions in one place but die in another, all of which will be caught by mojolicious
00:23 tba if you dont want the default mojolicious exception page, you have a choice between catching the exceptions or replacing the exception page template
00:24 tba im not sure there's much else you could do tbh
00:24 kwak Ah, they're essentially throwing the same error.
00:24 kwak Yeah, looks that way.
00:26 kwak I'll wrap all my DBIC calls with a 'rest_eval' plugin or something. That will handle Data::Validator::Results::Any errors with mojo accordingly.
00:26 kwak Means I can remove references to mojolicious from the DBIC too.
00:26 kwak (Which is whay I essentially set out to achieve about 4 hours ago. :D)
00:26 kwak s/whay/what/
00:26 tba lol i know the feeling :p
00:28 kwak Cheers for your time tba. Best go to bed now, told the misses I'd be in bed before 1am. :/ :)
00:28 tba no prob!
00:31 bpmedley kwak: Did you consider wrapping all pertinent routes in an exception handler?
00:41 marcus jberger: The pod renderer does tho?
00:44 Liam` joined #mojo
00:49 bpmedley What do ya'll think of something like this for kwak's problem: https://gist.github.com/brianmed/5790230?
01:13 marty joined #mojo
01:17 KindOne joined #mojo
01:20 Drossel joined #mojo
01:39 asarch joined #mojo
02:08 whitebook joined #mojo
02:15 KindTwo joined #mojo
02:33 KindTwo joined #mojo
03:10 whitebook joined #mojo
03:34 preflex_ joined #mojo
04:10 good_news_everyone joined #mojo
04:10 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/ndthWw
04:10 good_news_everyone mojo/master e40b6f7 Sebastian Riedel: fixed cookbook formatting
04:10 good_news_everyone left #mojo
04:17 jberger preaction, the only reason its not, I think, is because I haven't paid much attention to the wiki :-)
04:17 jberger I should add it
04:17 jberger marcus, I'm not sure what your message was in regards to
04:26 Psyche^ joined #mojo
04:29 jberger preaction, added :-)
04:48 whitebook joined #mojo
04:49 good_news_everyone joined #mojo
04:49 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Exvzcw
04:49 good_news_everyone mojo/master a7d77d5 Sebastian Riedel: slightly better Mojo::UserAgent examples
04:49 good_news_everyone left #mojo
05:50 Britzel joined #mojo
05:59 bluescreen joined #mojo
05:59 senthil joined #mojo
05:59 bluescreen joined #mojo
06:01 bluescreen joined #mojo
06:32 Mike-PerlRecruiter_ joined #mojo
06:32 duncanthrax joined #mojo
06:38 dotan joined #mojo
06:42 sri one of the things i miss most when switching from ruby to perl these days is the exception handling :S
06:44 Kulag joined #mojo
06:58 abstract joined #mojo
07:00 Kulag joined #mojo
07:15 Kulag joined #mojo
07:19 mire_ joined #mojo
07:54 Kulag joined #mojo
08:05 abstract_ joined #mojo
08:05 Gedge joined #mojo
08:09 jzawodn joined #mojo
08:12 Adura joined #mojo
08:43 d4rkie joined #mojo
09:01 D4RK-PH0ENiX joined #mojo
09:20 basiliscos joined #mojo
09:24 d4rkie joined #mojo
09:56 jamesaxl joined #mojo
09:56 jamesaxl hello
10:11 jamesaxl http://pastebin.com/t72psbT1
10:11 jamesaxl could you help me about this flash essage i have not managed to show in the page
10:15 nic jamesaxl: My recommendation would be to test out flash+redirect by itself (in a simpler smaller example)
10:18 jamesaxl nic: thank you very much, i manage now, i remove the last render because i render 2 times
10:18 nic '/a' => sub { shift->flash(msg => 'testing flash')->redirect_to('/b') }; '/b' => sub { shift->render(text => $self->stash('msg') }
10:18 nic jamesaxl: ah, was going to mention that, but then thought it was benign
10:19 nic (I found flash+redirect quite problematic, but haven't tested it recently)
10:19 jamesaxl nic: thank you very much, i should open my mind and concentrate
10:20 nic :)
10:20 * nic spent last night playing with ->delay examples (fun!) and now has a brain like porridge
10:22 nic I spent many hours in Robin Milners seminars on his carrot calculus; if I'd had access to v4 mojolicious all that work would have been a hell of a lot more fun
10:24 nic (http://en.wikipedia.org/wiki/Pi-calculus)
10:25 Vandal joined #mojo
10:30 ladnaV joined #mojo
10:55 marcus_ joined #mojo
10:57 Vandal joined #mojo
11:06 basiliscos joined #mojo
11:17 denisboyun_ joined #mojo
13:05 asarch joined #mojo
13:09 whitebook joined #mojo
13:10 pavelpat joined #mojo
13:10 pavelpat How to work with database from Mojolicious::Lite?
13:12 Adura That's up to you.
13:13 pavelpat What is default way?
13:13 pavelpat i need connect to db in every route directly?
13:18 Adura You don't have to if you don't want to.
13:34 batman pavelpat: what i would do is to call a helper which returns a fresh connection to the db
13:35 batman if you're working with some sql db i would use DBIx::Class (especially if you have mysql)
13:37 pavelpat I already ise DBI and DBD:Pg
13:37 pavelpat thanx
13:46 jberger pavelpat: a helper with a DBIx::Connector instance is probably the best for your use case
13:47 jberger helper db => sub { state DBIx::Connector->new( ... ) };
13:49 sh4 joined #mojo
13:51 nic Is there a way to watch a filehandle with Mojo::IOLoop?
13:52 nic I'm hoping I don't need to adopt a separate event loop for this
13:53 jberger nic: https://metacpan.org/module/Mojo::Reactor#watch
13:53 jberger Mojo::IOLoop->reactor->watch(...)
13:54 nic thanks jberger
13:54 jberger np
14:02 whitebook joined #mojo
14:04 jamesaxl joined #mojo
14:08 sinkovsky joined #mojo
14:09 sergeysinkovsky joined #mojo
14:37 asarch joined #mojo
14:37 asarch joined #mojo
14:37 gryphon joined #mojo
14:37 trone joined #mojo
14:49 denisboyun joined #mojo
14:55 sawtooth joined #mojo
14:58 bpmedley_ joined #mojo
14:59 jamesaxl_ joined #mojo
15:07 Janos joined #mojo
15:08 Janos hello there, playing around with mojo lite. I was wondering if it was possible to handle two http methods with the same sub, something line get || post '/hello' => sub { ... };
15:08 dod joined #mojo
15:21 whitebook joined #mojo
15:24 jberger Janos, its right in the Mojolicious::Lite doc, which also serves as the tutorial
15:24 jberger http://mojolicio.us/perldoc/M​ojolicious/Lite#HTTP_methods
15:26 Janos jberger, sorry i did not see that, i had it right in front of me, thanks
15:27 jberger np
15:33 Gedge joined #mojo
15:39 Gedge_ joined #mojo
15:40 dod joined #mojo
15:48 fhelmber_ joined #mojo
15:49 Gedge joined #mojo
15:59 denisboyun joined #mojo
16:00 fhelmber_ joined #mojo
16:20 tianon sri: btw, commit 78f1e0b introduced typo "$ mojo get mojo get ..." on line 1039 of lib/Mojolicious/Guides/Cookbook.pod
16:25 d4rkie joined #mojo
16:39 abstract joined #mojo
16:40 jberger tianon++
16:40 jberger fixed, thanks
16:40 good_news_everyone joined #mojo
16:40 good_news_everyone [mojo] jberger pushed 1 new commit to master: http://git.io/_Xk8BQ
16:40 good_news_everyone mojo/master e998812 Joel Berger: fixed typo
16:40 good_news_everyone left #mojo
16:46 Janos hi, question, can i use the startup hook in mojo lite ? also, is this the right place to setup a database connection ?
16:49 Janos looks like there is a plugin for database handling, going for it
16:50 jberger Janos, Mojolicious::Lite scripts are essentially themselves the startup hook
16:50 Janos jberger, ok, excellent
16:50 jberger read the Growing guide to see how a lite script turns into a full application, which will introduce the startup method
16:51 Janos will do, thanks a lot
16:51 jberger np
16:52 jberger as to database, if you are accustomed to DBIx::Connector
16:52 jberger sorry, if you are accustomed to using DBI, you should look at DBIx::Connector
16:52 jberger keeping an instance of that class in a helper is an easy way to manage a db connection
16:53 jberger helper db => sub { state DBIx::Connector->new( ... ) };
17:02 gtodd hmm how would one test the "/title" route (post and it scrapes mojolicio.us web site for "title")  in the mojo examples using Mojo::UA?
17:03 gtodd my $ua = Mojo::UserAgent->new;  say $ua->post('http://127.0.0.1:3000/title'); ?
17:05 gtodd hmm that just gives me a ref
17:05 jberger gtodd, have you used Test::Mojo?
17:07 gtodd oh .. ok I will look at the tests :-) ... it just seemed like something a little UA function/script would do :-)
17:07 jberger I'm not sure we are talking about the same thing
17:07 gtodd e.g.  ....   say $ua->get('http://mojolicio.us')->res->dom->html->head->title->text;
17:08 gtodd works
17:08 xaka joined #mojo
17:08 jberger that's what Test::Mojo is for
17:08 Kovensky joined #mojo
17:08 gtodd spits out text title
17:08 gtodd so I tried     say $ua->post('http://127.0.0.1:3000/title');   since it looked like the route handled the scraping somehow ...
17:09 gtodd :)
17:10 Janos jberger, the database plugin is suppose to handle database connections even in prefork envs etc, should i try that plugin ? i have never used DBIx, only DBI
17:12 jberger Janos, I've never used the plugin
17:12 Janos ok, thanks
17:12 jberger it might be fine
17:12 jberger DBIx::Connector has nothing to do with DBIx::Class btw
17:12 jberger its just about maintaining a connection including for forking
17:14 Janos ok, will give DBIx::Connector a try
17:31 jamesaxl joined #mojo
17:38 Janos i switched from lite to full app, is there any way to tell morbo to continue sending the log to stdout ? now the logging is going to log/development.log which is fine but i would like ti keep it in stdout if possible
18:09 batman Janos: rm -r ./log
18:10 batman Janos: it doesn't have anything to do with full/lite app. if the log directory exists, mojo will log to it
18:13 batman Janos: https://metacpan.org/source/SRI/​Mojolicious-4.14/lib/Mojo.pm#L26 and https://metacpan.org/source/SRI/Mojo​licious-4.14/lib/Mojolicious.pm#L78
18:13 batman (mostly the latter)
18:15 sri no need to read the source... http://mojolicio.us/perldoc/Mojolicious/Lite#Mode
18:15 batman true. just wanted to show how the log-logic was.
18:32 Mike-PerlRecruiter_ joined #mojo
18:39 Janos joined #mojo
18:56 KindOne joined #mojo
19:04 KindTwo joined #mojo
19:15 jamesaxl joined #mojo
19:16 good_news_everyone joined #mojo
19:16 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/p4ZVWQ
19:16 good_news_everyone mojo/master 319a801 Sebastian Riedel: fixed typo in get command
19:16 good_news_everyone left #mojo
19:16 sri jberger: first rule of fixing typos, look for more! :)
19:42 KindTwo joined #mojo
19:51 Janos joined #mojo
20:02 * jberger is shamed
20:02 denisboyun__ joined #mojo
20:15 russum joined #mojo
20:17 gtodd jberger:   :)
20:18 gtodd himm .... Can't locate object method "render_text" via package "Mojolicious::Controller" at eg_test.pl line 27.
20:18 gtodd ?
20:19 jberger render_text is gone as of 4.0
20:19 gtodd I guess something changed since that e.g was published somwhere
20:19 gtodd yeah me checking updated pages :)
20:19 jberger ->render( text => ... )
20:19 gtodd hmm seems more .... abstract :P
20:19 jberger which has always been possible, render_text was just a shortcut
20:20 * gtodd scrolls through the changes on github
20:20 gtodd and eliminating some shortcuts is a good thing because otherwise shortcuts become the norm
20:22 jamesaxl_ joined #mojo
20:22 jberger and there are several render_* methods which are not shortcuts
20:22 jberger so it was decided that the shortcuts should go
20:22 Janos if i want to send parameters to a post_ok test do i have to append them to the url or can i just use parameters to the post_ok. Can i do it like this '$t.post_ok('/foo', param1 => 'value')' or does it has to be like this '$t.post_ok('/foo?param1=value')' ?
20:22 jberger Janos, see the form generator
20:23 jberger oh
20:23 jberger nm, you are making a post req
20:23 jberger yeah, you will probably want to construct the URL either manually or using Mojo::URL
20:23 sri the fact that nobody has released a Mojolicious::Plugin::RenderShortcuts yet has proven us right imo :)
20:24 jberger sri: I have been meaning to release the memorize plugin
20:24 jberger just haven't gotten around to it yet :-)
20:24 * sri cracks the whip
20:24 jberger as usual its the tests that are the problem
20:25 Janos jberger, ok cool, anoter question, i would like to upload a file as the body of the post, not sure the form option is what i want, can i just add a file => '/path' ?
20:25 jberger that and the API, remember, I wanted an expire method
20:25 jberger Janos, I honestly don't remember the file stuff, its in the tutorial or cookbook
20:27 Janos yeah i found the tutorial, but the one in the tutorial speaks of a multi-part form and all i want is to use the file as body of the post, not sure it's the same thing, but this is probably more of a http question than a mojo one
20:27 sri not the same
20:28 sri funny thing is, what you want is the example for custom content generators http://mojolicio.us/perldoc/Mojolicio​us/Guides/Cookbook#Content_generators
20:29 jberger sri++
20:30 Janos sri, thanks a lot for that info, started with mojo yesterday and still get a bit lost around the docs, sorry :(
20:30 sri don't rush it, the docs are very dense
20:31 Janos i do love mojo so far though :)
20:31 jberger Janos, we HIGHLY recommend the Mojolicious::Lite doc and then the Guides in order (I can't remember if I've told you this already, I forget who all I've told that to)
20:31 jberger but yeah, don't rush it. good advice
20:31 sri haha, maybe we should make it an FAQ
20:32 sri "Should i read the Mojolicious::Lite tutorial first? YES!!!1"
20:32 sri and you can link to that then
20:32 Janos yeah, already passed the lite docs and actually converted to a full app, now I'm on the testing part
20:32 jberger we did tailor the Guides TUTORIAL section to do that basically
20:33 sri Mojo::UserAgent questions are a different beast though, the answers are pretty much at the end
20:33 jberger true enouhg
20:34 sri i've actually added a cookbook link recently to the lite tutorial
20:34 sri http://mojolicio.us/perldoc/​Mojolicious/Lite#User_agent
20:34 jberger I forget about that sometimes, I started using Mojo::UA long before using the web framework
20:35 Janos but i can't find on the docs, where all the parameters accepted by the post_ok get_ok etc. I know they take the same params as their post/get counterparts in the UserAgent, but when i go there the docs only say "Perform a blocking post" but nothing about the parameters accepted and their meaning :)
20:36 sri there's another link leading to many examples
20:36 sri it's 3 layers
20:37 jberger Janos, many of the Test::Mojo methods are thin(-ish) layers over Mojo::UserAgent
20:37 Gedge joined #mojo
20:39 Janos right now i'm on http://mojolicio.us/perldoc/Mojo/UserAgent#post for example but there is nothing about accepted parameters on that method, is there any other place i'm missing  ?
20:42 gryphon joined #mojo
20:49 basiliscos joined #mojo
20:53 * jberger is catching up on Game of Thrones
20:53 jberger my cable service has a free HBO weekend every now and again
20:54 jberger I've used the last few to sprint through the most recent season
20:54 Janos nice, i finished it, last weekend, i liked it
20:54 sri you know nothing j berger!
20:55 jberger they got a perfect ygritte
20:55 Janos well i guess i'm to have to dig on Mojo::UserAgent code to find out which params means what, going for it
20:56 jberger Janos, it says right in the link you posted
20:56 jberger takes the args to tx in the transactor, click on that link
21:11 * sri is still looking for new shows to watch
21:11 russum joined #mojo
21:13 jberger sri: have you watched "house of cards"?
21:13 sri yea
21:17 perlite joined #mojo
21:17 jberger whenever I run out of shows I watch the west wing again
21:23 jamesaxl joined #mojo
21:29 Janos i think the only show i could actually recommend is taken, but i guess everyone watched that already
21:30 whitebook joined #mojo
21:32 Janos sri, you are right, looks like what i need is a content generator, seems like the stream example should do the trick
21:35 lukep joined #mojo
21:46 sri Janos: that's not what i was saying, the content generator just does what you want
21:46 sri it is *one* way to do it
21:46 russum1 joined #mojo
21:55 Gedge joined #mojo
21:57 gryphon joined #mojo
21:59 gryphon joined #mojo
22:01 Zx3 joined #mojo
22:04 TitanOfOld joined #mojo
22:07 good_news_everyone joined #mojo
22:07 good_news_everyone [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/14​7bc47c6fe308fbe96f5c1cd2897a197db0285c
22:07 good_news_everyone mojo/master 147bc47 Sebastian Riedel: better descriptions for generator examples
22:07 good_news_everyone left #mojo
22:13 good_news_everyone joined #mojo
22:13 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/NgB2rw
22:13 good_news_everyone mojo/master e942765 Sebastian Riedel: more content generator examples
22:13 good_news_everyone left #mojo
22:17 whitebook joined #mojo
22:18 tba joined #mojo
22:31 russum joined #mojo
22:32 TitanOfOld joined #mojo
22:35 whitebook joined #mojo
22:44 TitanOfOld joined #mojo
22:46 Janos well custom generator is working, so i guess that's how i'm going to proceed, testing is working now, time to start working
22:47 whitebook joined #mojo
22:54 Averna joined #mojo
22:56 mire_ joined #mojo
23:07 ryozi joined #mojo
23:15 jberger custom generators are a very cool feature
23:17 Janos y the way jberger, DBIx::Connector looks awesome, so i'm using that.
23:24 bpmedley Howdy, would ya'll consider a cookbook deployment option with Apache, VirtualHosts, mod_perl, and Plack?   (https://gist.github.com/brianmed/5793820)
23:30 sri using mod_perl is strongly discouraged, so i don't see a chance
23:30 jberger bpmedley, I have no idea about inclusion, but I will say this, real-time features don't work in mod_perl nor plack
23:30 bpmedley Understood, thanks for the responses.
23:30 jberger once apache's reverse proxy handles websockets, that will certainly be the recommended Apache deployment (I would think)
23:31 sri cookbook is for things we encourage, wiki for the rest
23:31 sri jberger: well, we already recommend mod_proxy even without :)
23:31 jberger sri: true
23:32 jberger bpmedley, I usually blog post things like this, though it might be good to note the features lost in doing so
23:32 sri <3 nginx
23:32 bpmedley jberger: I dunno.  I'd hate for someones's first Mojo experience to go bad because of a blog post I did that didn't have all the features.
23:32 jberger I actuallly haven't yet had need for anything more than hypnotoad, but I'm small potatoes
23:33 bpmedley Is there documentation for denoting why mod_perl is strongly discouraged?  I've read a lot and don't recall seeing anything.
23:33 sri well, you generally want a reverse proxy for static file handling alone
23:34 sri bpmedley: mod_perl is a fine way to turn apache into an smtp server, but for deploying web apps it's just not very good
23:35 sri i'm sure you can find tons of horror stories with google
23:36 marty hmm. seems like milliseconds since epoch (as apposed to seconds since epoch) is becoming increasingly popular.  Think I might start using that with mango.
23:36 sri marty: it's the javascript standard
23:36 * marty nods
23:36 sri as i recently learned :)
23:37 marty same here.  :)   I see that mango bson_time defaults to that so I think I'll use it.
23:38 marty storage requirements are a little more, but nothing to to concerned about in my situation.
23:38 Janos ouch and there i was planning to deploy with mod_perl ... so other than web sockets, and not caring much about performance, what else would i loose ?
23:38 Adura You'd need to tighten up your code.
23:39 sri memory usage is always a concern with mod_perl in my experience
23:39 sri i've not really used it since 2006 or so
23:41 jberger sri: does the IOLoop run under PSGI? I always forget. I know it doesn't under CGI right?
23:41 sri well, it's not just web sockets... everything marked as real-time web features does not work
23:41 sri but that goes for all PSGI servers
23:41 Adura Going to have to settle with fake-time web.
23:41 sri jberger: ^^
23:42 jberger SURREALTIME-WEB!!!
23:42 sri ioloop *could* run with a few PSGI servers, like Twiggy, but for that we would have to support PSGI streaming
23:42 sri through EV again
23:43 sri PSGI streaming however is still flawed
23:43 sri there is no way to know if the browser closed the connection, which we need to make the finish event work
23:44 Janos ok, nothing that really hurts in my  weekend project. But out of curiosity, what would I use to expose to the internet if I wanted to use the latest and greatest features ? nginx ?
23:44 sri hypnotoad behind nginx for everything to work
23:44 Janos ok, good to know
23:44 sri latest nginx can even proxy websockets
23:47 Janos that sounds neat, I've been wanting to play with nginx for a long time anyway. I just feel "comfortably numb" with apache ...
23:47 sri for cloud hosting like heroku you might even pick the prefork daemon without a reverse proxy, imo that's where we are heading in the future
23:48 sri sandboxes are getting trivial with projects like docker, so i wouldn't be surprised if that market is going to explode
23:49 bpmedley How does docker compare to user mode linux?
23:49 sri watch the screencast
23:50 sri docker is lxc + some stuff btw
23:51 cstamas hi
23:51 cstamas there is a strange thing
23:51 cstamas I POST a json string the try to decode with Mojo::JSON
23:52 Janos i don't know the deamon well enough (read at all), but there are some things involved like access logging etc. that might actually need the proxy
23:52 cstamas it fails except I do utf8::encode
23:52 cstamas it fails except *when* I do utf8::encode
23:52 cstamas i get the value directly from $self->param( ...
23:53 cstamas is it supposed to be this way?
23:53 cstamas or i messed up something?
23:55 jberger cstamas, make a minimal example and pastie it somewhere
23:55 hesperaux joined #mojo
23:56 cstamas jberger: okay

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary