The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2015-05-25

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

All times shown according to UTC.

Time Nick Message
00:13 nf joined #mojo
01:00 asarch joined #mojo
01:14 nf joined #mojo
01:46 mattastrophe joined #mojo
01:47 klapperl joined #mojo
02:14 nf joined #mojo
02:49 noganex joined #mojo
03:13 basic6 joined #mojo
03:15 nf joined #mojo
03:38 inokenty-w joined #mojo
03:38 disputin joined #mojo
04:16 nf joined #mojo
04:21 polettix joined #mojo
04:42 polettix joined #mojo
04:54 kaare joined #mojo
05:15 kaare joined #mojo
05:16 jasanjun joined #mojo
05:17 nf joined #mojo
05:39 marty joined #mojo
06:17 nf joined #mojo
06:33 polettix joined #mojo
06:46 dod joined #mojo
06:52 dod joined #mojo
07:00 batman joined #mojo
07:01 fhelmber_ joined #mojo
07:14 trone joined #mojo
07:17 eseyman joined #mojo
07:18 nf joined #mojo
07:22 polettix joined #mojo
08:08 Vandal31341 joined #mojo
08:19 nf joined #mojo
08:54 gatitskiy joined #mojo
09:10 mattastrophe joined #mojo
09:20 nf joined #mojo
09:31 odc joined #mojo
09:40 amon joined #mojo
10:05 gatitskiy joined #mojo
10:16 gatitski_ joined #mojo
10:20 nf joined #mojo
10:27 henq joined #mojo
10:46 mattastrophe joined #mojo
10:47 absolut_todd joined #mojo
10:51 Adurah joined #mojo
10:53 Gedge_ joined #mojo
10:54 kaare_ joined #mojo
10:55 firnsy joined #mojo
10:55 absolut_todd joined #mojo
10:55 henq joined #mojo
10:55 amon joined #mojo
10:55 Vandal31341 joined #mojo
10:55 eseyman joined #mojo
10:55 trone joined #mojo
10:55 batman joined #mojo
10:55 marmez joined #mojo
10:55 Snelius joined #mojo
10:55 pete joined #mojo
10:55 jnbek joined #mojo
10:55 D4RK-PH0ENiX joined #mojo
10:55 hernan604 joined #mojo
10:55 salva joined #mojo
10:55 Grinnz joined #mojo
10:55 mtths joined #mojo
10:55 robinsmidsrod joined #mojo
10:55 go|dfish joined #mojo
10:55 stephan joined #mojo
10:55 al joined #mojo
10:55 inokenty joined #mojo
10:55 romel joined #mojo
10:55 zz_Foxcool joined #mojo
10:55 Anon021 joined #mojo
10:55 btyler joined #mojo
10:55 stephan48 joined #mojo
10:55 mst joined #mojo
10:55 bjoernfan joined #mojo
10:55 throughnothing joined #mojo
10:55 tojo joined #mojo
10:56 jzawodn joined #mojo
10:56 mgrimes joined #mojo
10:57 Mikey joined #mojo
10:58 avenj joined #mojo
10:59 cpan_mojo Mojolicious-Plugin-AssetPack-0.55 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-AssetPack-0.55
10:59 _dave_ joined #mojo
11:00 rakshasa joined #mojo
11:00 vytas joined #mojo
11:00 absolut_todd joined #mojo
11:01 throughnothing joined #mojo
11:01 tojo joined #mojo
11:01 eseyman joined #mojo
11:02 Kundun joined #mojo
11:07 Grinnz joined #mojo
11:16 hernan604 joined #mojo
11:16 inokenty-w joined #mojo
11:16 basic6 joined #mojo
11:16 klapperl joined #mojo
11:16 Jonis joined #mojo
11:16 jb360 joined #mojo
11:16 rwp joined #mojo
11:16 jberger joined #mojo
11:16 bpmedley joined #mojo
11:16 dabudabu joined #mojo
11:16 jabberwok joined #mojo
11:16 jantore joined #mojo
11:16 crab joined #mojo
11:16 augensalat joined #mojo
11:16 bc547 joined #mojo
11:16 murre joined #mojo
11:16 Andreas joined #mojo
11:16 sjn joined #mojo
11:16 stryx` joined #mojo
11:16 marcus joined #mojo
11:16 espen joined #mojo
11:16 nicomen joined #mojo
11:16 abracadaniel joined #mojo
11:16 shadowpaste joined #mojo
11:18 Vandal31341 joined #mojo
11:18 romel joined #mojo
11:18 odc joined #mojo
11:18 sri joined #mojo
11:18 LordVorp joined #mojo
11:18 henq joined #mojo
11:18 amon joined #mojo
11:18 trone joined #mojo
11:18 batman joined #mojo
11:18 marmez joined #mojo
11:18 Snelius joined #mojo
11:18 pete joined #mojo
11:18 jnbek joined #mojo
11:18 D4RK-PH0ENiX joined #mojo
11:18 salva joined #mojo
11:18 mtths joined #mojo
11:18 robinsmidsrod joined #mojo
11:18 go|dfish joined #mojo
11:18 stephan joined #mojo
11:18 al joined #mojo
11:18 inokenty joined #mojo
11:18 zz_Foxcool joined #mojo
11:18 Anon021 joined #mojo
11:18 btyler joined #mojo
11:18 stephan48 joined #mojo
11:18 mst joined #mojo
11:18 bjoernfan joined #mojo
11:21 nf joined #mojo
11:35 avkhozov joined #mojo
11:37 jantore joined #mojo
11:45 odc joined #mojo
11:45 sri joined #mojo
11:45 LordVorp joined #mojo
11:45 henq joined #mojo
11:45 amon joined #mojo
11:45 trone joined #mojo
11:45 batman joined #mojo
11:45 marmez joined #mojo
11:45 Snelius joined #mojo
11:45 pete joined #mojo
11:45 jnbek joined #mojo
11:45 D4RK-PH0ENiX joined #mojo
11:45 salva joined #mojo
11:45 mtths joined #mojo
11:45 robinsmidsrod joined #mojo
11:45 go|dfish joined #mojo
11:45 stephan joined #mojo
11:45 al joined #mojo
11:45 inokenty joined #mojo
11:45 zz_Foxcool joined #mojo
11:45 Anon021 joined #mojo
11:45 btyler joined #mojo
11:45 stephan48 joined #mojo
11:45 mst joined #mojo
11:45 bjoernfan joined #mojo
11:47 Vandal31341 joined #mojo
11:47 dod joined #mojo
11:47 romel joined #mojo
11:47 hernan604 joined #mojo
11:47 inokenty-w joined #mojo
11:47 basic6 joined #mojo
11:47 klapperl joined #mojo
11:47 Jonis joined #mojo
11:47 jb360 joined #mojo
11:47 rwp joined #mojo
11:47 jberger joined #mojo
11:47 bpmedley joined #mojo
11:47 dabudabu joined #mojo
11:47 jabberwok joined #mojo
11:47 crab joined #mojo
11:47 augensalat joined #mojo
11:47 bc547 joined #mojo
11:47 murre joined #mojo
11:47 Andreas joined #mojo
11:47 sjn joined #mojo
11:47 stryx` joined #mojo
11:47 marcus joined #mojo
11:47 espen joined #mojo
11:47 nicomen joined #mojo
11:47 abracadaniel joined #mojo
11:47 shadowpaste joined #mojo
11:51 odc joined #mojo
11:51 sri joined #mojo
11:51 LordVorp joined #mojo
11:51 henq joined #mojo
11:51 amon joined #mojo
11:51 trone joined #mojo
11:51 batman joined #mojo
11:51 marmez joined #mojo
11:51 Snelius joined #mojo
11:51 pete joined #mojo
11:51 jnbek joined #mojo
11:51 D4RK-PH0ENiX joined #mojo
11:51 salva joined #mojo
11:51 mtths joined #mojo
11:51 robinsmidsrod joined #mojo
11:51 go|dfish joined #mojo
11:51 stephan joined #mojo
11:51 al joined #mojo
11:51 inokenty joined #mojo
11:51 zz_Foxcool joined #mojo
11:51 Anon021 joined #mojo
11:51 btyler joined #mojo
11:51 stephan48 joined #mojo
11:51 mst joined #mojo
11:51 bjoernfan joined #mojo
11:54 berov joined #mojo
12:01 lluad joined #mojo
12:03 neilhwatson joined #mojo
12:03 nf joined #mojo
12:12 tojo left #mojo
12:14 mattastrophe joined #mojo
12:15 nf left #mojo
12:21 berov joined #mojo
12:30 Grinnz_ joined #mojo
12:36 kaare_ joined #mojo
12:55 ajr_ joined #mojo
13:23 asarch joined #mojo
13:25 ajr_ At what point does direct posting of code, as opposed to using a "paste" service, become obnoxious?
13:25 ajr_ 1 line, 5 lines, 10?
13:26 lb 2
13:26 jberger ajr_: the rule in #mojo is 1 line is ok
13:26 jberger 2 is not
13:26 * lb succinct
13:27 ajr_ Thanks. I will observe that in future.
13:28 jberger lb: yeah, but clarity is good too
13:28 jberger ajr_: if you have multiple lines, it's probably in a file, so using a nopaste app makes it very easy
13:28 lb it's a fine line between clarity and pedantry :)
13:29 * jberger sets lb on fire
13:29 * lb burns brightly
13:29 lb it's a line we walk every day as perl devs, of course
13:29 * jberger sets purl on fire
13:29 * purl basks in the warm glow HEY WAIT A MINUTE
13:29 jberger lb: indeed
13:48 eriam joined #mojo
13:50 eriam Hello -- I'm integrating a Minion job queue in a Mojolicious web application, so was wondering what's the prefered way to register tasks
13:50 eriam I guess they're not supposed to be stacked in the startup method all together aren't they ?
13:52 eriam my guess was to be able to register tasks in the controllers but that does not seems so appropriate
13:53 Onigiri So with mojo::pg, is there some way to issue a 'set' and have it redone every time it retires a connection and opens a new one? ... or am I stuck attempting something silly like issueing a ->query('set timezone ...; select....')
13:54 sjn left #mojo
13:55 mst Onigiri: Mojo::Pg emits a 'connection' event with the $dbh as an argument immediately after ->connect
13:55 mst so that'd be a great time to do that
13:56 mst $db->on(connection => sub { my ($db, $dbh) = @_; $dbh->do(...) });
13:56 mst I think
13:57 Onigiri Certainly worth a shot, thanks!
13:57 lluad Onigiri: As an alternative, you can use "alter user ... set timezone ..." to set up an environment automagically on a per user basis.
13:57 marcus brevity is the soul of wit
13:58 Onigiri lluad: unfortunatly, I can't do it that way D:
13:59 Onigiri lluad: since for comcast I need to do these in EST and for every other campaign in PST.
13:59 lluad Ew. on connection it is, then.
14:00 mst you may like https://metacpan.org/pod/Time::Moment in that case
14:02 Onigiri That's certainly an interesting module.
14:04 mst if you need to do significant processing of date/time stuff application-side it's worth considering
14:05 mst note that I'm not saying you -should- be doing that, only "if you do have a reason to, try this one"
14:05 Onigiri For this particular report, all the date stuff is dealt with on the db.
14:05 Onigiri However for the stuff I'm still stuck doing myself... this will likely remove the odd mix of datetime / date::calc::object.
14:06 mst augh
14:07 mst I've done 'DateTime with Date::Calc optimisations' before now
14:07 mst it's ... oh gods oh gods oh gods
14:07 Onigiri Yeah.
14:07 mst though I'm pretty sure the descendent of that code is still helping to power BBC iPlayer
14:08 mst I wrote them a -lot- of comments before the end of that on-site ;)
14:22 marcusr joined #mojo
14:30 lluad Mojo + PG + websockets + jquery is making developing this site almost pleasant. If I could just have perl in the browser ...
14:31 pink_mist iirc there used to be some internet explorer version that shipped with perl support in the browser :P
14:31 pink_mist no idea how that worked though
14:31 * mst has found that given angular.js, javascript is almost an acceptable perl
14:32 pink_mist and I expect it was like in version 3 or something
14:34 lluad Yeah. Angular helps. Though I'm looking at Aurelia as my next client side framework.
14:35 mst that's a new one on me
14:35 lluad It's by the Durandal folks (who are also working on Angular 2.0).
14:36 mst so angular 2.0 is meant to replace aurelia -and- angular 1.x ?
14:36 mst (sorry, I'd never heard of it and the website has headache inducing scrolly shit so I'm now confused and in pain rather than just confused)
14:36 lluad It's ... unclear.
14:36 jberger eriam: yes, you really need to do it during startup
14:37 jberger I've been making plugins for them myself
14:37 lluad (Which seems to be the answer to any qyestion about client-side frameworks with a horizon of more than a couple of weeks into the future)
14:37 mst lluad: yeah. what's leading you to aurelia rather than angular?
14:37 zivester joined #mojo
14:38 lluad Code samples look cleaner / shorter than angular, basically. I may change my mind once I'm four hours in, of course. :)
14:41 lb mst: saw a presentation of ES5 vs ES6, and it was practically, "yeah we're perl now"
14:50 meredith eriam: I just have Foo::Task::* classes which are simple 'Mojolicious::Plugin's, and they each do $app->minion->add_task in their register methods.
14:51 meredith Then, given a list, the app $self->plugin()s them after plugging Minion.
14:51 * sri defines tasks the same way
14:52 sri http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Adding-a-plugin-to-your-application
14:52 sri a generic recipe
14:56 PotatoGim^Home joined #mojo
14:58 asarch If the current url is "/school/students/add", how could I get only "/school/students/"? $c->url_for('upper_level')?
14:58 mst lluad: suspect they're shorter because ES6 syntax
14:58 lluad Likely.
14:58 asarch Or do I have to set it manually?
14:59 eriam meredith: ok that seems clean ! thanks for the tip
15:00 eriam thanks sri
15:00 eriam & jberger !
15:02 mst lluad: mmm. the nested routers is nice.
15:04 mst lluad: I think my conclusion is "yes, it's a bit nicer, but I don't see that it's enough nicer to justify losing the angular ecosystem"
15:05 mst lluad: but I'm glad you pointed it out, because that's the nicest thing I've said about a JS framework in a while :)
15:05 lluad :)
15:08 Onigiri Thankfully I don't have to deal with the front end.
15:08 Onigiri Somebody else gets stuck with the extjs mess.
15:20 mst lluad: mrf. "please note if you're writing components you can't use any of the convention stuff because that's global and the user might have replaced it"
15:20 mst then all their examples go "look we're better than angular because conventions let you type less"
15:20 lluad Hmm.
15:33 Onigiri joined #mojo
15:50 jberger yay, globals!
16:00 Adura joined #mojo
16:16 eriam very clean ! _thanks_
16:17 mst lluad: this appears to be "I fell out with the rest of the angular 2 team and am now being as unrealistically smug as possible about being right"
16:17 lluad Ah. The nanomsg approach.
16:19 mst on the other hand, I've already read the entire angular 1.x source code and understood it, so I may be sunk cost fallacying myself here
16:23 sh4 joined #mojo
16:24 Onigiri What was he "right" about?
16:24 Onigiri I probably missed a chunk of this discussion while vbox was messing up
16:24 mst I'm not entirely sure, but he's definitely very convinced of it
16:24 mst I think basically "if I make my framework as opinionated as possible it'll be less typing"
16:27 Onigiri joined #mojo
16:27 Onigiri So it seems /upgrade doesn't work very well with ssl connections in irssi.
16:33 mst I'm not sure I've ever know it to work at all
16:33 mst I pick up irssi upgrades annually or so when I do a cold start
16:48 howitdo joined #mojo
16:52 bpmedley So.. does anyone else think that a configuration management tool that uses a) plain perl scripts to do the work; b) Moose packages for a consistent API; and c) a Mojo app to run the scripts in either a “standalone” mode or with minion is a good idea?
16:52 bpmedley https://gist.github.com/brianmed/10a6d9e38054ed0008d9  <— Here is an example run of a standalone script.  Very much still in development.
16:54 lluad Perhaps. What's the advantage over, say, chef (other than the obvious)?
16:55 neilhwatson There is a Perl powered CM somewhere IIRC.
16:55 bpmedley lluad: I don’t really know chef.  I’ve just looked at a few recipes and I didn’t like the way they looked.  That’s not a very scientific answer, tho.. :)
16:55 bpmedley neilhwatson: Rex?
16:55 purl Rex is probably a credit card size pda or the codename for Debian 1.1
16:56 lluad Also slaughter.
16:56 bpmedley lluad: I like the way slaughter works; however, does it have easy remote job execution?
16:56 neilhwatson I use CFEngine, but I have build a reporting tool for it powered by Mojolicious.
16:57 trone joined #mojo
16:57 lluad Slaughter is pull, rather than push, but that's a two line wrapper script change for the typical case.
16:58 neilhwatson Push models do not scale well.
17:00 bpmedley I like what I’ve seen with slaughter; however, it doesn’t seem to support a few things I would like. For example, does it support adding and deleting a cron entry easily?
17:00 Nemix joined #mojo
17:01 bpmedley neilhwatson: Do you like CFEngine?
17:02 neilhwatson I do. It scales very well. THe learning curve is steep, but once you climb it you are OK.
17:02 bpmedley How many boxes do you support?
17:02 lluad I've found chef much better than saltstack, FWIW.
17:02 neilhwatson I'm currently working an deploy for up to 10000 hosts.
17:02 bpmedley Sounds fun.. :)
17:03 neilhwatson I've seen a single cfe server manage 3000+ agent hosts without a problem. Any CM product is going to vary a lot based on what the clients are asking of the server.
17:04 neilhwatson FYI: https://github.com/evolvethinking/delta_reporting
17:07 bpmedley Looks interesting
17:08 neilhwatson I doubt the code will be featured in any text books. I'm more admin than dev, but Mojo sure made if fun for me to pretend I'm a dev.
17:26 jberger neilhwatson++
17:29 jberger you do have a lot of logic in a hybrid controller though: https://github.com/evolvethinking/delta_reporting/blob/master/app/lib/DeltaR.pm#L119-L186
17:29 jberger not that that isn't allowed, but ...
17:30 neilhwatson patches welcome ;)
17:33 jberger I kinda walked into that one didn't I?
17:33 jberger sure, I'll trade: https://github.com/jberger/Test-Mojo-Phantom
17:36 sri also $self in helpers, and old school dbi
17:36 neilhwatson Testing javascript, that's nice.
17:38 sri and no dbh caching as far as i can see
17:39 jberger sri: yeah, I was going to mention that
17:39 sri <3 Mojo::Pg
17:39 mst yeah, that dbh helper is completely broken
17:39 jberger neilhwatson: you probably at least want DBIx::Connector, if not Mojo::Pg
17:39 mst at the very least you wanted DBIx::Connector
17:39 absolut_todd joined #mojo
17:40 ajr_ joined #mojo
17:40 sri completely broken or just very very slow?
17:40 sbaranoff joined #mojo
17:40 sri looks to me like it reconnects on every query, which works around disconnects ;p
17:41 sri or am i missing something again?
17:41 Grinnz yeah not even connect_cached
17:42 jberger sri: no, you are right
17:42 purl okay, jberger.
17:42 jberger dammit purl
17:42 sbaranoff Newb question - I'm using secure cookies which seem to break with the default test configuration. Is there a way when running `./scripts/myapp test` to set '--listen' so I can do `get_ok('/login')` and have it just work?
17:42 sri on the plus side, the abstraction is exactly how i would have done it
17:42 sri (and have... in the blog example)
17:43 sri (with explicit Controller/Model classes)
17:43 neilhwatson \o/
17:44 sri neilhwatson: https://github.com/kraih/mojo-pg/blob/master/examples/blog/lib/Blog.pm#L14-L17
17:44 jberger sbaranoff: it wouldn't be via --listen, but it is an interesting question
17:45 sri also jberger++, for proving that Mojo::Pg can perform very well in micro benchmarks :)
17:49 jberger sri: is there a good way to cause an error in a Mojo::IOLoop::Stream?
17:50 jberger hmmm, I suppose I could just inject a $stream->emit(error => ... );
17:51 sh4 joined #mojo
17:53 good_news_everyon joined #mojo
17:53 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vThSx
17:53 good_news_everyon mojo/master c1482df Sebastian Riedel: mention how to switch protocols for tests
17:53 good_news_everyon left #mojo
17:53 sh4 joined #mojo
17:53 sri sbaranoff: ^
17:54 sbaranoff jberger: I gathered as much. It's also not as simple as doing get_ok('https://localhost/login') since the port is apparently randomly generated and I'm not even sure if the server is in TLS mode - I haven't tracked down where the server is actually started after 4 hours of reading code this morning.
17:54 jberger sri++, nice
17:55 sbaranoff I'm tempted to remove 'secure' from the cookies just to make the tests work
17:56 sri there's many solutions
17:57 jberger sbaranoff: did you see the commit that sri just made?
17:59 sbaranoff I think I missed it (using free web IRC client) but I think caught it just now -- [mojo] kraih pushed 1 new commit to master: http://git.io/vThSx  ?
17:59 batman joined #mojo
18:02 jberger batman: o/
18:02 trone_ joined #mojo
18:03 ToApolytoXaos joined #mojo
18:05 * neilhwatson puts mojo:pg on his todo
18:05 batman_ joined #mojo
18:06 Grinnz Mojo::Pg++
18:07 jberger oh if only I could use it, but sadly, its all MySQL as far as the eye can see
18:08 neilhwatson :(
18:09 * neilhwatson wishes for a mojo/pg alternative to wordpress.
18:10 Grinnz neilhwatson, sounds like a good project!
18:11 neilhwatson I second Grinnz nomination as project lead.
18:12 Adura Mojo::Pg13
18:16 sbaranoff Thank you all, that appears to be working!
18:28 good_news_everyon joined #mojo
18:28 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vThpd
18:28 good_news_everyon mojo/master 3607bdd Sebastian Riedel: more complete test examples
18:28 good_news_everyon left #mojo
18:30 sbaranoff Very nice - thank you!
18:39 batman jberger?
18:39 purl jberger is, like, http://i.imgur.com/UPfFmXF.jpg or Foreman
18:40 * batman is installing new gfx card
18:52 batman hm... has cpan_mojo announced any new releases today?
18:54 jberger batman: I don't remember it announcing for a few days actually
18:54 jberger http://irclog.perlgeek.de/mojo/search/?nick=cpan_mojo&amp;q=
18:54 jberger last one I see: http://irclog.perlgeek.de/mojo/2015-05-22#i_10643349
18:54 jberger three days ago
19:13 batman that sucks :(
19:21 trone_ joined #mojo
19:24 zivester joined #mojo
19:37 _dave_ In the embedded perl section of the rendering guide: the docs say '%' is treated as '<% line =%>'
19:37 _dave_ What is the significance of '=%>'?
19:38 jberger and = on the end tag does whitespace trimming
19:38 jberger s/and/an/
19:39 _dave_ ahh yeah...thank you...forward document reference and all that
19:40 _dave_ btw jberger, thanks for Mojo::IOLoop::ForkCall :)
19:40 * jberger blushes
19:40 _dave_ it's actually documentation too
19:41 jberger ?
19:41 _dave_ reading the source deobfusticated events and non-blocking for me in a big way
19:41 jberger oh, yeah
19:41 jberger cool
20:01 good_news_everyon joined #mojo
20:01 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vTjRd
20:01 good_news_everyon mojo/master ccfd652 Sebastian Riedel: mention that whitespace trimming is explained later
20:01 good_news_everyon left #mojo
20:07 good_news_everyon joined #mojo
20:07 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vTjuu
20:07 good_news_everyon mojo/master 1b6fde6 Sebastian Riedel: more consistent template examples
20:07 good_news_everyon left #mojo
20:32 lluad joined #mojo
21:00 lluad Would a tiny patch to let Mojo::JSON serialize Mojo::Collection be worthwhile?
21:03 jberger I think I asked about that a few weeks ago
21:03 jberger or maybe it was Mojo::ByteStream
21:03 jberger all they need are TO_JSON methods
21:03 lluad Yeah.
21:04 lluad (Between asking and now, I've written the patch and am mulling the commit message :) )
21:05 sri use case?
21:05 lluad Mojo::Pg result->hashes to json
21:06 sri http://mojolicio.us/perldoc/Mojo/Collection#to_array
21:06 lluad Yeah, that's what I'm using now. Adding a TO_JSON that's identical to to_array just cleans up the interface a little.
21:07 sri we've had a lot of bad luck with collection magic... so my default vote is -1 now
21:07 lluad OK
21:10 sri (and by that i mean really really bad luck... and it took months to clean up the class again)
21:20 marmez left #mojo
21:36 Zoffix joined #mojo
21:49 marmez joined #mojo
22:09 oalders i've got a web app that PUTs some JSON to a url handled by mojo. how do i get the body of the PUT?
22:14 pink_mist oalders: http://mojolicio.us/perldoc/Mojolicious/Guides/Tutorial#HTTP-methods <-- there's a put example in there
22:14 oalders pink_mist++
22:30 sbaranoff left #mojo
23:27 hernan604 i had the impression mojo auto-idented markup ?
23:28 hernan604 (i mean put a fixed number of spaces on begining of every line)
23:28 hernan604 dont know why i had this impression =p

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