-Ofun: xrl.us/hxhk | pugscode.org | pugs.kwiki.org | paste: paste.lisp.org/new/perl6 or sial.org/pbot/perl6
Set by apple-gunkies on 11 November 2005.
00:02 chip is now known as ex-chip
rafl joepurl_: As soon as possible, of course. 00:56
nothingmuch autrijus: FYI - i released Term::VT102::Boundless 09:29
IMHO HTML::FromANSI should use it 09:30
that way it doesn't have to guess rows/cols
azuroth !nopaste 09:41
Khisanth perlbot: paste 09:51
perlbot Paste your code and #perl will be able to view it: sial.org/pbot/perl dragon.cbi.tamucc.edu:8080 erxz.com/pb
Khisanth hmm
azuroth aha 09:52
Khisanth add a 6 to the end of that first address
azuroth perlbot: help
perlbot Syntax: (fact) :: tell (who) about (what) :: (who) > (what) :: learn (what) as (info) :: relearn (fact) as (info) :: phone (phone number) :: shorten (url) :: shorten it :: search (module) :: docs (module) :: perldoc -f (function) :: jargon (term) :: math :: fortune :: flip :: host (type) (record) ::rot13 :: roll (die) :: tempconv (temp) :: scramble (text) :: 8ball :: slap :: diss :: what time is it :: top/bottom (number) karma :: geoip (ip)
svnbot6 r8010 | Darren_Duncan++ | r959@Darren-Duncans-Computer: darrenduncan | 2005-11-25 17:38:38 -0800 09:58
r8010 | Darren_Duncan++ | /ext/Rosetta-Incubator : reverted version nums on 4 modules to 0.1.0 from 0.10.0, since they never had any X.YY versions
r8011 | autrijus++ | * transcribe some random thoughts re PIL2 before I
r8011 | autrijus++ | accidentally erase it again ;)
r8012 | fglock++ | * /docs/notes/laziness.txt - "List" vs "Tuple";
r8012 | fglock++ | reorganization of sections.
r0nny morning 10:01
azuroth hey hey
10:45 brentp is now known as _brentp
r0nny yo 10:46
i got problem
azuroth with what?
r0nny want to use YAML::Dump to dump a perl6 data structure
but it just tells there isnt such a sub 10:47
is there a way, to use perl5 data structures for this hash ? 10:48
azuroth hmm. I've no idea
12:17 kgftr|ko1obi is now known as kgtfr|konobi
liz6 see autrijus 12:18
seen autrijus
13:10 uni is now known as foxbox 13:31 comet_ is now known as comet, comet is now known as comet^ 13:33 Lopo_ is now known as Lopo
herentia does anyone see the syntax error in this line if ( grep (/ball/, $mech->field) ) 17:03
sky_ autrijus: www.couchsurfing.com/ 17:36
r0nny re 17:54
Aankhen`` G'night. 19:03
gaal herentia: in Perl 6? $mech.field . But were you looking for #perl ? 19:10
revdiablo Perl 6's grep doesn't take EXPR form either, does it? 19:25
integral nothing should now 19:26
revdiablo $mech.field.grep:{/ball/}; # IIRC
integral since blocks are very, very, very trivial...
revdiablo Does field return a list either?
So much to talk about in such a simple snippet of code.
wolverian revdiablo, .field certainly returns a list if it's declared as such (has @.field;) 19:27
revdiablo Is it declared as such, was my question
wolverian it's not a built-in or anything. it's just an example (AFAIK) 19:28
revdiablo I assumed we were talking about a WWW::Mechanize object, since it was named $mech and 'field' makes sense in that context
wolverian oh, okay. I don't know about any possible WWW::Mechanize perl6 implementation.
(or the perl5 one either, really. :) 19:29
revdiablo Yeah I think his question was really intended for #perl, but hey, why not run with it. =)
wolverian ah, I didn't read that up :) 19:30
s,up,far up 19:31
s/$/,/
malverian autrijus: Query me if you don't mind when you get a chance. I've got a question regarding cross-compiling to win32 host with pp 19:32
geoffb (Thinking Forth)++ # Advocating "fun-down" rather than "top-down" or "bottom-up" 19:38
nothingmuch autrijus: par.perl.org/ - is that broken?
19:43 _SamB_ is now known as SamB
herentia can someone show me what is wrong with the above code sial.org/pbot/14586 20:01
wolverian it's been pretty quiet lately 21:09
lack of autrijus? :)
geoffb That'd be my guess. 21:10
He's an effective neutron moderator.
wolverian we should have more of those
geoffb We do; unfortunately, most of them can't be around all the time, or even very much, like autrijus ... er ... used to. 21:12
(economic reality)--
wolverian reality--
Odin-LAP capitalism-- # Onwards to revolution! 21:14
geoffb loop { $current = @political_structures.pick } 21:27
integral $current = any(@political_structures); # just pick the one that works for what you need at the time 21:29
geoffb $current = @political_structures.grep({ $_.workable }).any; # What's the correct method-taking-block syntax these days, anyway? 21:36
wolverian .foo: { ... } # larry wants this to work, not sure if it's canonical yet 21:37
geoffb So when followed up by another chained method call, what then?
wolverian no idea. :)
I assume as if it was .foo({ ... }).bar 21:38
geoffb Yeah, so did I, then realized I hadn't read the S recently . . . still, it's what people will expect from a simple mental model, so it should DWIM
wolverian search for 'grep:' in svn.perl.org/perl6/doc/trunk/design/syn/S12.pod 21:39
geoffb mmm, proper DWIMmery, that. 21:42
wolverian yes
I'm not sure why we still need : at all then.. 21:43
probably to make grep { } @list work instead of grep { }, @list
geoffb Because Larry hates fingernail clippings
nodnod
wolverian I actually would be fine with giving up that feature
not sure if many others would
nothingmuch use.perl.org/~nothingmuch/journal/27757 21:44
geoffb I think the : might be suboptimal, but I tend to make use of the fact that Perl is bluntly ( ) - optional, and use parens to mean something.
wolverian perl is not () optional with method calls :/ 21:45
well, besides : .. right.
geoffb and therein lies the rub 21:46
go nothingmuch . . . .
wolverian does $obj.foo<bar> call .foo("bar") or .foo(){"bar"} 21:47
nothingmuch sri_: use.perl.org/~nothingmuch/journal/27757
geoffb wolverian, I would just try it, but that would tell little about whether the Pugs behavior was correct or not. :-) 21:48
wolverian geoffb, right :) 21:52
nothingmuch err, why did i post here
(to sri_, that is) 21:53
22:00 Jooon_ is now known as Jooon 22:04 Lopo_ is now known as Lopo
nothingmuch seen autrijus 22:35
seen autrijus?
jabbot?
NOOO!!! JABBOT!
wolverian heh
sri_ nothingmuch++ 22:55