Camelia, the Perl 6 bug

IRC log for #mojo, 2012-09-28

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

All times shown according to UTC.

Time Nick Message
00:20 ObseLeTe joined #mojo
00:33 Averna joined #mojo
01:11 xaka joined #mojo
01:29 d4rkie joined #mojo
01:37 perlite_ joined #mojo
02:33 noganex_ joined #mojo
02:35 zivester joined #mojo
02:43 tempire lulz: http://blog.steveklabnik.com/posts/201​2-09-27-seriously--numbers--use-them-
02:44 * tempire pings nordaaker
02:44 tempire for the perl copybara thing.
02:45 * tempire wants it
02:45 tempire even if there's no pretty web page or docs
03:13 l3l1p joined #mojo
03:47 l3l1p joined #mojo
04:47 pertze__ joined #mojo
05:26 MidnighToker joined #mojo
05:51 l3l1p joined #mojo
06:11 venomo joined #mojo
06:22 ovnimancer joined #mojo
06:25 davido joined #mojo
06:31 arthas joined #mojo
06:32 spleenjack joined #mojo
06:33 AmeliePoulain joined #mojo
06:37 Vandal joined #mojo
06:45 fhelmber_ joined #mojo
06:55 ghandi joined #mojo
07:06 marcus calling all nordaakers?
07:08 rem_lex|pivo joined #mojo
07:11 marcus tempire: revolution seems kinda dumb
07:53 Foxcool_ joined #mojo
08:11 daxim joined #mojo
08:12 tempire you think?
08:12 purl No, I'm a bot.
08:12 tempire I like it.
08:12 tempire Anything with that premise interests me.
08:41 cosmincx joined #mojo
09:26 sunson joined #mojo
09:27 sunson I have a page which has two entry points (one directly, through a link - and the other, after a post and redirect_to). From the post I'd like to flash(msg => "post successful"). But upon entry, I shouldn't error out with "global symbol $msg requires explicit package name"... How do I do this?
09:29 sunson I'd ideally like to put the code for displaying 'msg' into the layout itself, since its generic.
09:29 pau4o joined #mojo
09:31 diegok sunson: use stash('msg') or flash('msg') on your templates
09:36 sunson diegok: thanks!
10:00 xaka joined #mojo
10:01 ObseLeTe joined #mojo
10:02 arthas joined #mojo
10:10 zpmorgan joined #mojo
10:14 ObseLeTe joined #mojo
10:33 ObseLeTe joined #mojo
10:36 robhammond joined #mojo
11:17 preflex joined #mojo
11:56 Lucas1 joined #mojo
12:19 jnap joined #mojo
12:27 tadamo_ joined #mojo
12:40 jnap joined #mojo
12:54 jnap joined #mojo
13:09 gryphon joined #mojo
13:11 trone Is it possibile provide a static file with a mojo daemon one liner?
13:15 bluescreen joined #mojo
13:32 berov joined #mojo
13:37 D4RK-PH0ENiX joined #mojo
13:53 sunson is it possible to do $self->render(text => "some message") while also specifying a layout?
13:54 sunson never mind, just passing "layout" => "name" works
13:54 sunson mojo rocks!
13:54 purl sunson rocks!
14:00 berov joined #mojo
14:00 Jason__ joined #mojo
14:22 Leandr joined #mojo
14:23 asarch joined #mojo
14:26 l3l1p joined #mojo
14:27 trone … perl -Mojo -E 'a("/list" => {text => Mojo::Asset::File->new(path => "/tmp/server_list.txt" )->slurp })->start' daemon
14:29 sri perl -Mojo -E 'a("/list" => data => b("/tmp/server_list.txt")->slurp)->start' daemon
14:29 sri :)
14:30 sri ops, forgot {}
14:30 sri perl -Mojo -E 'a("/list" => {data => b("/tmp/server_list.txt")->slurp})->start' daemon
14:31 sri slurping with assets is soooo mojolicious 2.x ;p
14:31 knshaum joined #mojo
14:33 trone sri++ # really better
14:33 sri perl -Mojo -E 'app->tap(sub { $_->static->paths->[0] = "/tmp" })->start' daemon
14:33 sri another option to serve everything from a directory
14:34 trone This accept also "parameters": perl -Mojo -E 'a("/hello" => {data => b($ARGV[1])->slurp })->start(@ARGV)' daemon /tmp/server_list.txt
14:35 trone tap?
14:36 sri http://mojolicio.us/perldoc/Mojo/Base#tap
14:37 trone ah thanks. (LOL, know I have just to understand what it does!)
14:38 ObseLeTe_ joined #mojo
14:38 trone synopsis++
14:39 sri it's just some syntax sugar for oneliners we borrowed from ruby
14:43 d4rkie joined #mojo
14:59 trone Need to change content-type
15:17 l3l1p joined #mojo
15:30 labrown joined #mojo
15:37 ryozi joined #mojo
15:44 xaka joined #mojo
16:01 pau4o left #mojo
16:02 ObseLeTe joined #mojo
16:12 preflex_ joined #mojo
16:32 jzawodn joined #mojo
16:46 tempire apptap!
17:07 preflex_ joined #mojo
17:24 mire_ joined #mojo
17:57 zpmorgan joined #mojo
18:04 andrefs joined #mojo
18:18 andrefs joined #mojo
18:36 abra joined #mojo
19:41 preflex joined #mojo
19:41 andrefs joined #mojo
19:59 bluescreen joined #mojo
20:03 niczero joined #mojo
20:08 xaka joined #mojo
20:08 davido joined #mojo
20:08 allison joined #mojo
20:38 jnap joined #mojo
20:46 ObseLeTe joined #mojo
20:49 bpmedley_ joined #mojo
20:59 ObseLeTe_ joined #mojo
21:21 jnap joined #mojo
21:32 rhaen hm.
21:32 rhaen night night.
21:38 human39 joined #mojo
21:49 buu Does param return empty string for non-existant params?
22:18 nic joined #mojo
22:39 kitt_vl joined #mojo
23:00 bluescreen_ joined #mojo
23:14 l3l1p joined #mojo
23:15 chansen joined #mojo
23:17 phillipadsmith joined #mojo
23:17 chansen joined #mojo
23:19 chansen joined #mojo
23:19 asarch joined #mojo
23:19 ryozi joined #mojo
23:20 phillipadsmith joined #mojo
23:25 phillipadsmith joined #mojo
23:26 chansen joined #mojo
23:55 Jason__ joined #mojo

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