pugs.blogs.com | pugscode.org | pugs.kwiki.org | paste: sial.org/pbot/perl6 | <stevan> Moose... it's the new Camel ":P | .pmc == PPI source filters!
Set by Alias_ on 16 March 2006.
01:29 jserv-- joined 01:32 Alias_ joined
pfenwick waves to Alias 01:37
01:43 sri_ joined 01:48 Grrrr joined 02:33 SamB joined
svnbot6 r10458 | fglock++ | PCR - new module Pugs::Compiler::RegexPerl5 - wraps a perl5 regex into a method that returns a Match object. 02:54
03:28 mako132_ joined 03:47 qu1j0t3 joined, Ymmv joined 03:48 Alias_ joined 03:52 unobe____ joined 04:23 nnunley joined 04:26 clkao joined, mando joined 04:29 avar joined 04:48 Aankhen`` joined, Ymmv joined, drbean_ joined 04:57 kanru joined 04:58 nowhereman joined 05:09 Quellism joined 06:27 iblechbot joined 06:28 marmic joined 06:35 Quellism joined 06:56 lichtkind joined 07:04 SM_ax joined 07:05 kanru joined 07:36 cmarcelo left 08:10 elmex joined 08:24 neoesque joined 08:38 penk joined 08:58 drbean joined 09:05 f0rth joined 09:17 bjoern_h joined 09:29 chris2 joined 09:34 andara joined 09:52 cognominal joined 10:16 avarab joined 10:20 penk left 10:21 ludan joined 10:32 szbalint joined 10:42 bjoern_h is now known as bjoern_ 10:48 jserv-- joined 11:36 mako132_ joined 11:48 neoesque joined 11:51 cognominal joined 11:53 nothingmuch joined 11:56 Khisanth joined 11:57 dudleyf joined 12:09 jsiracusa joined 12:12 nothingmuch joined 12:21 neoesque joined 12:27 ludanolo joined 12:29 weinig_ joined 12:31 ludan joined 12:37 Limbic_Region joined 13:03 nothingmuch joined 13:14 unobe_____ joined, unobe_____ is now known as unobe 13:19 weinig_ is now known as weinig|work 13:21 froh-doh joined 13:26 particle_ joined 13:32 jserv-- joined 13:36 elmex joined 13:42 hexmode joined 13:50 kanru joined 13:52 hcarty joined 13:59 lisppaste3 joined 14:02 cmarcelo joined 14:06 b_jonas joined 14:07 vel joined 14:20 froh-doh is now known as nepaste 14:21 nepaste is now known as froh-doh 14:26 froh-doh is now known as nepaste, Ymmv joined 14:27 nepaste is now known as froh-doh 14:33 theorbtwo joined, dvorak joined 14:35 froh-doh is now known as nepaste, trym_ joined, nepaste is now known as froh-doh 14:49 cmarcelo left 14:56 iblechbot joined 14:58 srf joined 15:05 penk joined 15:06 vel joined 15:13 prefiks joined 15:20 b_jonas joined 15:21 yaarg joined 15:42 FurnaceBoy joined 16:00 hexmode joined 16:19 neoesque joined 16:31 elmex joined 16:51 pasteling joined 17:00 marmic joined 17:08 bernhard joined 17:17 cognominal joined 17:50 dudleyf joined 17:52 coumbes joined 17:59 elmex__ joined 18:01 ingyfoo is now known as ingy, mako132__ joined 18:15 vel joined 18:21 shachaf joined 18:53 weinig|work is now known as weinig 18:55 coumbes joined 19:05 steve is now known as Steve_p, shachaf joined 19:07 FurnaceBoy_ joined 19:15 elmex joined 19:22 Ymmv joined 19:23 qu1j0t3 joined 19:44 bernhard joined 19:51 froh-doh joined
szbalint This may sound silly, but why does 'not' work at some places where '!' doesn't? I missed the difference between the two. 20:01
(I've bumped into a test where !-d was changed to not -d) 20:04
Steve_p szbalint: There is a difference in operator precedence between ! and "not". 20:07
PerlJam szbalint: They only differ in precedence, so maybe the place where ! doesn't work is a place where is applied to the wrong thing 20:08
(wrong relative to your expectation)
szbalint I see, thanks... 20:14
That's what I thought too after looking at S03 but I wasn't sure.
20:15 ruoso joined
svnbot6 r10459 | szbalint++ | Fixing shebang for t/operators/filetest.t 20:19
20:19 kane_ joined, weinig is now known as weinig|away 20:20 qu1j0t3 is now known as FB|afk
TimToady szbalint: actually, I think that was changed because !-d showed 20:31
a bug in the parser.
so I moved the bug to one test and fixed the other tests to actually test the filetest rather than the parser.
szbalint ah okay.
TimToady (if I recall correctly)
20:32 Toaster joined
szbalint I had a very old installation with lib.pm before 20:32
that used !-d and for some reason was still around
TimToady but either of them should work fine.
"not" will work even better after we make it not a list operator 20:33
but stacked unary operators don't really care about precedence at all.
unless you happen to stack both a prefix and a postfix, then they have to negotiate 20:34
with the default tables, however, all postfixes are tighter than all prefixes naturally
szbalint so the parser bug got fixed in the meantime or is still around?
TimToady dunno 20:35
Steve_p Oh, yeah, not(()) caused some problems in Perl 5
TimToady yes, it's a false economy to combine not's precedence into list ops. 20:36
szbalint pugs -e 'my $dir = "ext"; if (!-d $dir) { say "no such dir" }' ## this still errors away, so I guess not
TimToady The actual test for the bug is probably misplaced. It's at the end of chmod.t: 20:39
ok(try { !-e "nonesuch" }, "!-e syntax works", :todo);
Steve_p Ohhh...
20:48 justatheory joined
TimToady afk & 20:51
21:02 penk joined 21:03 dudleyf left 21:09 cmarcelo joined 21:17 FB|afk is now known as FurnaceBoy 21:44 cmarcelo left 22:10 Limbic_Region joined 22:14 hcarty left 22:29 weinig|away is now known as weinig 22:52 jsiracusa joined 23:47 cmarcelo joined