Camelia, the Perl 6 bug

IRC log for #mojo, 2011-02-25

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

All times shown according to UTC.

Time Nick Message
00:09 * sri is very disappointed!
00:18 tempire_ cpanmin.us name resolution has been flaky for the past several hours
00:20 tardisx joined #mojo
00:42 GitHub73 joined #mojo
00:42 GitHub73 mojo: master Sebastian Riedel * b51da55 (6 files in 5 dirs): added experimental support for more Perl-ish configuration files - http://bit.ly/gV1rV6
00:42 GitHub73 left #mojo
00:42 sri :)
00:42 sri same format as the hypnotoad.conf
00:43 sri plain old perl with app helper
00:45 perlrocks Twitter: "Added support for more #perl-ish config files to #mojolicious and made adding new formats much easier. http://t.co/3jdL0Di" --kraih http://twitter.com/kraih/status/40935279372144640
00:53 GitHub174 joined #mojo
00:53 GitHub174 mojo: master Sebastian Riedel * 91d0ff3 (2 files in 1 dirs): cleanup - http://bit.ly/hCq7iA
00:53 GitHub174 left #mojo
00:54 ZadYree Q: which is the method to handle passed content? $self->param isn't appropriate for big contents
00:54 sri DaTa: bad news, i broke yaml_config, good news, you now have a clean api to rely on
00:55 sri ZadYree: please read the documentation, it is all in there
00:55 sri especially the lite tutorial
00:56 ZadYree hum I read every Mojo::Guides but can't find it
00:56 sri http://mojolicio.us/perldoc?Moj​olicious/Lite#Captured_Content
00:56 ZadYree yeah
00:56 ZadYree saw that
00:57 ZadYree but we only have an interresting template part
00:57 ZadYree lemme study it, comming back if I'm lost
01:10 tempire_ left #mojo
01:13 crab sri: did MOJO_JSON_CONFIG=xxx break with that commit?
01:14 sri crab: no idea
01:14 crab yes, it did. doesn't occur anywhere in the source now.
01:15 sri feel free to fix, i'm already sleeping ;p
01:16 sri nn
01:18 crab just $conf->{file} = $ENV{MOJO_JSON_CONFIG} if !exists $conf->{file} && exists $ENV{MOJO_JSON_CONFIG} in JsonConfig::register should do the trick, i think
01:18 crab i'll send a patch sometime
01:21 ZadYree I really can't understand this part. In fact I have a form which contains infos. I made a class to parse them, but I don't see how to retrieve them without using parameters.
01:21 crab why do you have to retrieve them without using parameters?
01:22 ZadYree imo params are not appropriate for such long texts
01:22 ZadYree having this in the url isn't elegant
01:23 crab you must be doing something horribly wrong.
01:23 crab why aren't you using POST for whatever it is you're doing?
01:23 ZadYree hum yup I think so
01:24 ZadYree is content_for using POST method by default?
01:26 crab content_for has nothing to do with POST or GET
01:26 ZadYree ok
01:29 ZadYree I'd like to see an example of a form using post method
01:32 crab <form action=/foo method=post>...<input type=submit value=Boo></form>
01:33 ZadYree hum
01:33 ZadYree isn't there a way using <% tpl %> method?
01:34 ZadYree anyway it's still fine
01:35 crab tpl?
01:36 crab i have never heard of this tpl
01:36 ZadYree template... maybe don't I get it, but are we still using content_for ?
01:36 ZadYree and param() method?
01:37 crab i must reluctantly admit that i have no idea what you are doing, or what you want.
01:37 crab because i can't understand your questions.
01:37 crab if you're asking if param() works with both get and post, then yes, it does.
01:37 ZadYree ah, nice
01:39 ZadYree so, using post method, it would handle a big content =)
01:42 crab sure.
01:43 crab sri: btw, during t/mojo/dom.t after your recent changes to _css_equation, i get gazillions of this warning:
01:43 crab Use of uninitialized value in length at /home/ams/extern/mojo/blib/lib/Mojo/DOM.pm line 469.
01:44 * mateu sees by backlog that either a kid or cat got a hold of the keyboard while away, pardon moi.
02:40 stephen left #mojo
02:49 tempire logginz mah keys!
02:51 julien left #mojo
04:03 tl joined #mojo
04:05 tholen42 left #mojo
04:50 yakudzo left #mojo
04:54 daviddelikat joined #mojo
04:56 daviddelikat1 left #mojo
04:57 yakudzo joined #mojo
05:16 perlrocks Twitter: "Mojolicious-Plugin-Cache 0.0012-TRIAL by SIDD - http://frepan.org/~sidd/Mojolic​ious-Plugin-Cache-0.0012-TRIAL/" --cpan_new http://twitter.com/cpan_ne​w/status/41003526616391680
05:21 Alias_ left #mojo
05:30 metaperl joined #mojo
05:45 giwi left #mojo
05:49 kaare joined #mojo
06:00 giwi joined #mojo
06:20 tardisx left #mojo
06:23 ysyrota joined #mojo
06:55 koban joined #mojo
06:57 fhelmber_ joined #mojo
07:13 daviddelikat left #mojo
07:22 su-bzero is now known as su-bzero[off]
07:23 giwi_ joined #mojo
07:23 giwi left #mojo
07:32 koban left #mojo
07:38 fhelmber_ left #mojo
07:44 AmeliePoulain joined #mojo
07:48 Christian joined #mojo
07:52 cxreg joined #mojo
08:06 xantus left #mojo
08:09 cstamas left #mojo
08:14 Christian left #mojo
08:23 Christian joined #mojo
08:23 giwi_ left #mojo
08:28 breaker313 joined #mojo
08:32 perlrocks Twitter: "#perl Building a Mojolicious app with PAR::Packer http://goo.gl/eRsFX" --perloop http://twitter.com/perloop​/status/41052788997750784
08:38 crab it sucks that there's no indication that that is an unresolved question, rather than a howto article.
08:46 breaker313 left #mojo
08:46 breaker313 joined #mojo
08:47 otaviof joined #mojo
08:48 su-bzero[off] is now known as su-bzero
08:48 su-bzero "Client->managed is EXPERIMENTAL (on by default), Client->async is DEPRECATED. Is mojo client experimentally-deprecated?" Is it real?
08:56 snearch joined #mojo
09:03 moritz http://www.perlmonks.org/?node_id=890146 somebody having problems with Par::Pack'ing a Lite app
09:14 koban1 joined #mojo
09:14 koban1 How can i handle request that don't pass bridge?
09:18 plu joined #mojo
09:22 crab su-bzero: which troll are you quoting?
09:30 su-bzero crab: It's not a troll. und3f.
09:31 ZadYree left #mojo
09:31 su-bzero And I just ask. Is one method experimental and other is deprecated.
09:32 xantus joined #mojo
09:32 crab su-bzero: yes.
09:32 crab but the behaviour has not changed.
09:33 crab and it's not the *client* that's deprecated, it's just the managed attribute as a way to change its behaviour.
09:33 su-bzero Weird... Any way I suppose that need to migrate from IOLoop to AnyEvent in our application. ;) Time will show.
09:34 DaTa sri: ok, going to fix that on weekend
09:34 marcus su-bzero: what it means is that async will go away in some future release, and managed will replace it.
09:34 tholen joined #mojo
09:36 crab i hate AJAX-y file uploads.
09:37 crab that iframe/textarea hack is ghastly.
09:39 su-bzero marcus: Ah, ok.
10:29 AmeliePoulain left #mojo
10:31 spleenjack joined #mojo
10:49 tholen left #mojo
10:51 snearch left #mojo
10:57 crab bloody hell.
10:57 purl Crikey!
10:57 crab in list context, ->headers->header('X') returns an array of arrayrefs?!
10:57 sri good morning fellow japanese movie monsters!
11:00 * crab tries to make sense of that
11:01 breaker313 left #mojo
11:05 crab in Mojo::Headers::add: push @{$self->{_headers}->{$name}}, (ref $_ || '') eq 'ARRAY' ? $_ : [$_] for @_;
11:05 crab so ->{$name} is a reference to an array of arrayrefs of lines?
11:09 crab yes, headers.t agrees with me. but i'm not sure i understand it.
11:10 sri it's just http
11:15 crab if i have multiple X-Foo: a, X-Foo: b etc. headers, how do i get the very last value? pop the last element off the return value of header(), and if it's an arrayref, pop the last value off that too?
11:17 sri it's headers with same name and lines
11:20 crab so if there is a single X-Foo header with value "x", i will get an array ("x")
11:20 crab if there are two with values x and y, i will get ([x], [y])
11:21 sri yes
11:21 crab and if there are two with values "x,a" and y, i will get ([x,a],[y])?
11:21 sri exactly
11:21 crab ok
11:22 sri most people just stringify and regex search though
11:26 giwi joined #mojo
11:38 maxim left #mojo
11:39 tholen joined #mojo
11:44 sri anyone tried perl config files yet?
11:45 sri http://mojolicio.us/perldoc?Moj​olicious/Plugin/Config#SYNOPSIS
11:45 giwi left #mojo
11:49 giwi joined #mojo
11:52 GitHub41 joined #mojo
11:52 GitHub41 mojo: master Sebastian Riedel * 12dba8f (3 files in 2 dirs): deprecated MOJO_JSON_CONFIG environment variable in favor of MOJO_CONFIG - http://bit.ly/gVZOyS
11:52 GitHub41 left #mojo
11:54 sri crab: we have way too many env vars already
11:55 GitHub43 joined #mojo
11:55 GitHub43 mojo: master Sebastian Riedel * ff82163 (1 files in 1 dirs): crab did all the work - http://bit.ly/gFdKYk
11:55 GitHub43 left #mojo
12:07 crab sri: yes, i agree, don't document it or document it as deprecated, but at least for a while let it keep working. :-)
12:08 crab MOJO_CONFIG is certainly better all round.
12:08 * sri nods
12:11 AmeliePoulain joined #mojo
12:24 aiglenoir left #mojo
12:25 aiglenoir joined #mojo
12:25 GitHub155 joined #mojo
12:25 GitHub155 mojo: master Sebastian Riedel * 23171c1 (3 files in 3 dirs): improved attrs method in Mojo::DOM - http://bit.ly/h3BPUw
12:25 GitHub155 left #mojo
12:26 daviddelikat joined #mojo
12:34 breaker313 joined #mojo
12:53 crab sri: did you see my note about the undef warnings in length in _css_equation?
12:56 daviddelikat1 joined #mojo
13:00 daviddelikat left #mojo
13:09 tholen left #mojo
13:12 sri crab: never seen those
13:15 crab sri: it doesn't happen when you run make test?
13:15 crab how strange
13:16 sri i've also not seen it on cpantesters
13:32 bellaire joined #mojo
13:39 bellaire left #mojo
13:42 bellaire joined #mojo
14:31 elb0w Why doesnt it like "mojo generate app elbow" ?
14:33 elb0w oh
14:33 elb0w Elbow
14:33 elb0w :D
14:45 tholen joined #mojo
15:00 j-v-e joined #mojo
15:05 tholen left #mojo
15:17 AmeliePoulain left #mojo
15:26 elb0w So confused, what am I missing? I generated the non lite app. I changed the controller name to MyApp::Facebook and on the app I made it facebook#welcome
15:26 elb0w restart, and it just hangs
15:27 elb0w nvm
15:27 elb0w im a tard, figured it out
15:27 elb0w :o
15:29 elb0w Anyone have any vi / eclipse syntax hight lighting for .ep templates by any chance?
15:33 garu https://github.com/kraih/mojo/wiki/Vim
15:33 garu elb0w: ^^
15:34 elb0w awesome
15:35 elb0w wow thought I was asking for a strech
15:35 elb0w :D
15:35 garu ;)
15:37 elb0w gvim or shell?
15:38 elb0w make test failing ftl
15:41 fhelmber_ joined #mojo
15:42 elb0w garu, you use this?
15:44 garu I tried it once, but no, not really
15:44 elb0w just suck it up with plain text?
15:44 elb0w maybe ill write an eclipse addon
15:44 garu I wrote a padre plugin for it
15:45 elb0w dont use padre here
15:45 garu you can try writing something for EPIC, but the vim plugin should work
15:45 garu why is it failing?
15:45 elb0w yeah I got the vim one to work
15:45 elb0w I was building from source, I just used to vimball instead
15:45 garu yay
15:46 spleenjack1 joined #mojo
15:46 charsbar__ joined #mojo
15:47 elb0w Man I have to wrap my head around this design concept. I havent really ever done MVC. I assume I have controllers that go get the data and render things and my main app is more of a routing table?
15:48 elb0w Is that incorrect
15:48 charsbar left #mojo
15:49 * elb0w has more reading to do :o
15:50 spleenjack left #mojo
15:50 Christian left #mojo
15:51 otaviof left #mojo
15:55 Foxcool joined #mojo
15:57 garu elb0w: the model gets whatever data the controller asks, the controller maps routes to certain actions of "fetch this from model, mangle, mangle, render that", and the view renders whatever the controller tells it to
15:58 garu that's of course a bit of an oversimplification, but since you seem a bit confused, I hope it helps
15:58 elb0w Yeah, it does thank you. I just dont want to start building the wrong way
15:59 elb0w I guess What is the view? Is that the main app or the just a term for the browser?
16:00 garu ok
16:00 elb0w haha
16:00 tholen joined #mojo
16:00 garu let's pretend you have a simple web ap
16:00 garu *app
16:00 elb0w ok
16:01 garu that the user says http://mysite/fetch/something
16:01 garu and it fetches that something from an awesome database in your posession
16:01 elb0w via a action in the controller that the main app routed fetch/something to?
16:02 garu your app will have a controller that will map "/fetch/something" to an action
16:02 garu say, sub fetch {}
16:02 elb0w ok
16:02 elb0w yes
16:02 elb0w So now if I have to manipulate the data I get from the DB do that in the controller before rendering?
16:02 garu hang on, we'll get there
16:02 elb0w ok
16:03 garu so inside sub fetch you want to know what the user wants to fetch, so you do something like:
16:03 garu my $self = shift; my $what = $self->param('something');
16:04 garu and now you have that parameter the user passed (like /fetch/kitten or /fetch/house)
16:04 garu elb0w: with me so far?
16:04 elb0w ok, I have done similiar with lite
16:04 elb0w yes
16:04 garu cool
16:05 garu in lite this would be get '/fetch/:something' => sub { ... }
16:05 garu ok
16:05 elb0w yeah
16:05 garu so now you need to fetch your data from $awesome_database
16:05 garu the database, or better yet, the interface to access data, is what we are calling "model" here
16:06 elb0w ok
16:06 elb0w so DBI would be the model?
16:06 garu so pretend you have a way to map your database table to classes, and your rows to methods
16:06 garu and you can crate auxiliary methods too
16:07 elb0w ok
16:07 elb0w so im creating a rest api
16:07 garu DBI could be the model, yes. But what you usually want is a wrapper around DBI
16:07 garu let's call it "Model.pm"
16:07 elb0w ok
16:08 garu this way you can do stuff like my $result = Model->fetch_list_of_whate​ver_related_to($something)
16:08 elb0w yeah makes sense
16:09 garu and now $result has whatever the Model returned, be it a query result or a full object, or whatever you want
16:09 garu now you need to show something to the user
16:09 garu saying whether things went ok, or if an error occurred, etc
16:09 garu this is where the view comes in
16:10 garu after it runs, your controller assigns a given template to be rendered back to the user
16:11 elb0w Ok
16:11 garu it sets the View to render something, in some format (html, json, xml, etc)
16:11 garu the controller passes stuff to the view via the stash whenever necessary
16:12 garu and the view now know what template to render, and with what values
16:12 garu so it does, and the user sees the response
16:12 elb0w so $self->render(message => 'blah'); is passing to the stash?\
16:13 elb0w or is that different than $self->stash
16:13 Foxcool left #mojo
16:14 garu you mean $self->render( text => 'blah' ) ?
16:14 elb0w In the generated example it does $self->render(message => 'Welcome...'); Then in the template uses $message, I would of thought it would of been $self->stash(message => 'Welcome...')
16:15 garu right
16:15 garu yeah, something like that I guess, but you shouldn't use render to pass values I think
16:15 elb0w ok, ill stick with stash
16:15 elb0w thank you so much for this, I feel a lot more confident now :)
16:15 elb0w garu++
16:16 garu use render() to mess with the handler, format, template, etc
16:16 garu :)
16:16 garu anytime
16:16 elb0w ill try not to bug you too often haha
16:16 garu nonsense. If you have questions, ask
16:17 garu but I'm sure you'll get the hang of it in no time
16:17 oleber left #mojo
16:17 elb0w yeah, glad I swapped from catalyst to this. Between the straightforwardness + hypotoad its amazing
16:18 elb0w hypno*
16:19 oleber joined #mojo
16:25 Foxcool joined #mojo
16:26 aiglenoir left #mojo
16:42 tholen left #mojo
16:43 koban1 left #mojo
16:44 breaker313 left #mojo
16:45 aiglenoir joined #mojo
16:57 ysyrota left #mojo
17:00 otaviof joined #mojo
17:01 Foxcool left #mojo
17:03 Foxcool joined #mojo
17:05 hoelzro|home left #mojo
17:47 elb0w I looked at the cpan page but I am still not sure what pod_renderer does other than its for true Perl hackers, rawr!
17:50 Foxcool left #mojo
17:52 garu elb0w: it renders pod as html, with nice syntax highlithing for code blocks etc
17:53 garu elb0w: you know what pod is, right? :)
17:53 elb0w nope
17:53 elb0w lol
17:53 garu elb0w: Plain Old Documentation
17:53 elb0w yeah just went to perldoc
17:53 garu elb0w: type perldoc perlpod for the syntax
17:53 elb0w ah
17:53 elb0w cool
17:53 elb0w is this the =head, etc I see in modules?
17:53 elb0w yeah
17:53 garu yeah
17:53 elb0w cool
17:53 sri http://twitpic.com/43ng43/full # working on a perl5 logo :D
17:54 elb0w lol
17:54 elb0w they dont have one yet?
17:54 sri something for t-shirts
17:54 garu sri: rawr? :)
17:54 elb0w no more camel?
17:54 sri the onion is the official logo...
17:54 elb0w oh
17:54 sri camel has a copyright
17:54 garu sri: I'm afraid a dinossaur has negative conotation
17:55 sri and trademark...and lawyers
17:55 garu like ancient, extinct, etc
17:55 sri raptors are fucking badass
17:55 sri actually
17:55 sri http://twitpic.com/43naaf/full # my first try
17:55 sri :D
17:56 DaTa dinos are dead! :)
17:56 garu hahahah
17:56 spleenjack1 left #mojo
17:56 garu "because CPAN always finds a way"
17:56 garu elb0w: "perldoc perlpod"
17:57 elb0w Should make it like the cocacola symbol
17:57 sri "mst: Alive and Killing"
17:57 elb0w thats cool though, I like the dino
17:58 garu elb0w: basically it gives you a nice way to write and format documentation for your module. You can even embed it in your module (as you've seen, and that's ususally what people do)
17:58 elb0w yeah
17:58 elb0w ill play with it in the future
17:59 garu sri: what happened to the twitter bot?
18:00 sri "Where's *your* language on the food chain?"
18:00 sri garu: it's still here
18:01 sri garu: oh you said (via @...)
18:01 sri the retweet filter catched it
18:03 garu oh
18:04 garu but it's not actually a retweet... I was just giving credit to the other author :)
18:06 garu either way, for those that were interested => https://github.com/kraih/mojo/wiki/Dreamhost
18:07 sri garu++
18:09 Foxcool joined #mojo
18:11 snearch joined #mojo
18:12 elb0w garu, just a fyi running daemons on DH is a tos
18:13 elb0w found out the hardway
18:14 elb0w should add that to dreamhost wiki too imo
18:18 xris joined #mojo
18:27 garu elb0w: right... well, let me rephrase that then, just a minute
18:28 fhelmber_ left #mojo
18:34 garu elb0w: done
18:34 garu :)
18:37 elb0w :o I may not of gone to ec2 if I had seen this post
18:38 elb0w now i have this massive $1.67 bill from amazin for the month
18:38 elb0w amazon*
18:40 GitHub55 joined #mojo
18:40 GitHub55 mojo: master Sebastian Riedel * a166e29 (1 files in 1 dirs): cleanup - http://bit.ly/fRR4tL
18:40 GitHub55 left #mojo
18:42 garu elb0w: you can always unsubscribe... though I'd like to see a "deploying mojolicious in the clouds" post :)
18:42 sri indeed
18:42 elb0w nah I like the ec2
18:42 elb0w we use them at work
18:42 elb0w 90% of what I do is on the cloud atm
18:42 elb0w we load balance / cluster
18:42 sri write about it on the wiki :)
18:42 elb0w you guys make it so easy theres not much needed haha
18:42 elb0w hypnotoad script/myapp --config hypnotoad.conf
18:42 elb0w done
18:42 elb0w haha
18:43 garu elb0w: then let other people in on the secret :)
18:43 elb0w haha will do
18:44 elb0w "Deploy Mojo on the cloud" . Step 1 ) cpanm Mojolicious , Step 2) done
18:44 elb0w ill write something when I redeploy my blog
18:44 elb0w or the wiki
18:44 purl the wiki is all fixed and on emerald, and ssl, and the redirects, etc
18:47 GitHub101 joined #mojo
18:47 GitHub101 mojo: master Sebastian Riedel * 9528bc3 (1 files in 1 dirs): improved Mojo::Home test - http://bit.ly/fvYZNC
18:47 GitHub101 left #mojo
18:47 snearch left #mojo
18:59 stephen joined #mojo
19:14 elb0w http://dev.elbowrage.com/whereami there did the proper render json now
19:34 tempire_ joined #mojo
19:36 tempire_ raptor+++
19:37 tempire_ sri: what's the font used?
19:37 sri finally someone asks :)
19:37 sri the mix
19:37 tempire_ I like an adaptation of garu's suggestion.  "Because Perl always finds a way"
19:38 garu tempire_: :P
19:39 sri a Thesis font
19:39 tempire_ I'm not sure what that means
19:39 tempire_ thesis?
19:39 * purl avoids working on thesis
19:40 sri http://www.lucasfonts.com/​fonts/thesis-family/about/
19:41 tempire_ ugh
19:41 tempire_ non free fonts :(
19:41 sri good fonts cost :/
19:42 tempire_ opentype is the new font hipness, I guess?
19:43 tempire_ never heard of it until now
19:43 sri webfonts are the new hipness now
19:44 sri fonts in the cloud, no more collection buying, you just lease individual fonts :S
20:26 Foxcool left #mojo
20:35 sri http://twitpic.com/43owhi/full # garu++
20:38 garu hahahah
20:38 garu thanks
20:38 garu only it looks now as if the raptor is... erm...
20:39 garu can't you put that message anywhere else? other than the raptor's... bottom?
20:40 sri Oo
20:40 garu do you see it?
20:40 garu I can't not see it
20:40 sri nope
20:42 elb0w cant we just have perl shooting php in the face with a shotgun?
20:42 elb0w "Perl.... its better."
20:44 sri garu: bute yea, i can move it a bit to be in line with "Perl"
20:44 sri *-e
20:44 garu :)
20:48 gshank_ joined #mojo
20:52 gshank left #mojo
20:54 elb0w man I keep saying it, but I cant believe how nice this is haha. Its so refreshing to just be able to write code and not worry about apache. Hypnotoad is the shit.
20:55 garu ALL GLORY TO THE HYPNOTOAD!
20:56 tempire_ seriously, that's the first thing I thought....why is the raptor defecating on cpan?
20:56 elb0w lol
20:57 elb0w how stress tested has hypnotoad been?
20:58 garu tempire_: thank you!
20:59 garu (thought I thought it was farting :)
20:59 garu *though I thought
21:00 tholen joined #mojo
21:01 elb0w If I wanted a my controller to be MyApp::Blah::ControllerName
21:01 elb0w do I change namespace to point there?
21:01 tempire_ http://mojolicio.us/perldoc?Mojolicious/Gu​ides/Routing#Route_To_Class_28namespace29
21:02 elb0w ah ok
21:02 elb0w ty
21:05 gshank_ is now known as gshank
21:08 sri http://twitpic.com/43p6kk/full # for the weird people here ;p
21:10 elb0w :o
21:14 elb0w $r->route('/welcome')->to(namespace => "Elbow::Social::Facebook", action =>'welcome');
21:14 elb0w what did I do wrong there?
21:32 elb0w hrmm
22:13 dekimsey1 left #mojo
22:20 sri and the final one :) http://twitpic.com/43pd2x/full
22:22 perlrocks Twitter: "Blog.Perl5doc.ru: Micro web framework Mojolicious:: Lite - Module CPAN http://ff.im/yRU8c" (ru) --planetperlru http://twitter.com/planetper​lru/status/41261796992102400
22:33 jmmills joined #mojo
22:33 jmmills Is there a way to define a default action for a controller?
22:34 jmmills or a framework default?
22:39 perlrocks Twitter: "Mojolicious:: Lite - micro web framework" (uk) --jcheree3kk http://twitter.com/jcheree3​kk/status/41265988892622848
22:44 sri jmmills: nope there is not
22:44 sri you can however do something similar with routes
22:45 sri my $r2 = $r->route->to(action => 'foo'); and use $r2 as new root
22:46 jmmills okay
22:47 jmmills I mean it's not really that hard to do route($path)->to( namespace => $class, action => 'default' );
22:50 tempire_ !!!
22:51 tempire_ Math::BigInt and Math::BigInt::FastCalc both list each other as requirements.
23:00 tholen left #mojo
23:33 kaare left #mojo
23:35 marty left #mojo

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