| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Comments:
<0> Daveman: no <1> brilliantly argumentative. <2> anyone know any manpage/URL with a list of all functions usable wiht arrays? or if someone can tell me how to clear a whole array <3> Well hobbs you are an extremist with a fragile ego. <0> ooh, a grue. <4> we'll be less Friendly for a while I guess <5> I should just make my ignore list public. I'm batting 700 so far. <6> :o <5> Kukla Fran and Olie! <6> hobbs :) <2> how do I clear a perl array <7> perldoc perldata <8> perldata - Perl data structures. To access this perldoc please type, at a command line, 'perldoc perldata'. You may also find it at http://perldoc.perl.org/perldata.html <7> go read, bighead <6> anyway, thanks for your GREAT help, hobbs :p
<6> perldoc merlyn <6> :\ <2> melyn thanks <7> s/me/mer/ :) <2> = <2> =) <9> bighead = parenthesis! <2> ? <5> How do I tell vim that '' ought to center the line it jumps to? <9> cfedde: #vim knows <9> that sounds complicated <2> cfedde: http://www.fprintf.net/vimCheatSheet.html <10> cfedde: :set so=99 hehehe <6> Hi tybalt... <5> sili: good point. <10> Daveman: a) I'm eating b) I have no idea what you're trying to do <5> tybalt89: perfect! <9> holy siht <9> 78mb for intel wireless "drivers" <5> tybalt89++ <6> tybalt, asdfjkl; <6> sili: bangin' <6> sili: you want the three-digit kilobyte, actual drivers? <10> cfedde: :) <6> ****ing win32 packages <6> tybalt, can I pm please? and I didn't know you were eating :) <9> no one gets in to see the wizard <9> not no one not no how <2> guys, does this look good? trying to implement a simple unget solution <6> confusing <2> while (($_ = shift @unget_cache) || <> ) { ... } <2> and in the while loop, whenever I wanna unget, I do "push @unget_cache, $stuff" <7> beware the values that are false but not undef <2> hmm <7> I'd normally just build a queue: <7> my @queue = <>; while (@queue) { my $item = shift @queue; ... } <11> how to open a image/jpeg file and convert it to hex? (so I can use it like print OUTJPG chr($byte[0]).chr($byte[1]);) <12> Hello, I've been away from perl for a couple of years, and I think I've forgotten more than half of it. Where can I find a quick tutorial for programmers, so I can get back up to speed? (There's no FAQ in the topic, so I'll have to ask, sorry!) <2> kim_: perldoc perlintro <8> perlintro - Perl introduction for beginners. To access this perldoc please type, at a command line, 'perldoc perlintro'. You may also find it at http://perldoc.perl.org/perlintro.html <12> thank you <2> =) you're welcome <2> so merlyn...yeah but I wouldn't want to read all the input in one go (just a little itch regarding efficiency) <12> Oh yes! man perl! <2> kim_ =D <12> perl reftut, perloo, perlretut, hehe, it's coming back already :-) <13> troff < /dev/null | $PAGER <13> s/null/urandom/ <12> One last question: Is there a good graphics library out (like an sdl mapping lib or something?) I've found I (re)learn twice as quick if I can "see" what I'm doing. I didn't do graphics in perl last time I used it. <7> for the convenience, I woujldn't worrry about it unless you're talking 10,000 lines or more <11> kim_: perhaps GD library <7> (for bighead0 <2> ok <2> I think i'm under that limit =D <9> if anyone wants to get angry, go to talks.php.net <2> heh <9> there's plenty of stuff that's wrong. <12> I've seen GD before. It'll do in a pinch. Is there more of an SDL-like library? I've used pygame to improve my python skill before. (And java has AWT and Swing, of course, though those are actually less handy) <14> I am going to make a potato pancake for breakfast I think <15> you're right, those colors piss me off! <12> The trick is to be able to change your graphics in real time, so you get direct feedback. It's very motivating. And you always learn more about programming from it :-)
<9> kim_: you could use sdl <7> you would love Squeak then <2> merlyn: so is undef really diferent than false? undef not considered a boolean when in context? <7> undef is false <9> perlbot: false <16> false things: @array/%hash if they have no elements, (), "", "0", 0, undef <7> but so is 0 "" and "0" <2> so your code I can make <9> "00" not false. <9> don't get tricked! <2> @all_stuff = <>; while ($_ = shift @all_stuff) { } <9> bighead: that's retarded. you didn't even localize $_. <12> SDL_perl... hmmm! SDL didn't have primitives like lines and polygons last I looked... ahhhh wait, SDL_gfx <12> HMM! This might actually be enjoyable <2> sili: i'm sorry , i'm a little rusty with my perl. localize? <2> to the while loop? <12> thank you very much , sili, gob****e, bighead, et al :-) <2> kim_ np =) <9> bighead: just don't do that. while(<>){do stuff with $_} <7> bighead - that's going to stop when you get to a "" or 0 <9> merlyn: wouldn't that depend on his $/ <9> too <2> merlyn ok... <17> Daveman, howdy <9> bighead: bottom line don't do it. while(<>){$_ stuff} <7> that's why I said use while (@stuff) { ... } <7> @stuff = <>; while (@stuff) { my $item = shift @stuff; ... } <7> that won't go wrong if a line of that is false <12> Hmmmm! With sdl graphics primitives, I should get around to practicing more C++ too! ;-) <12> very thank you <9> why is <> being read in all at once if he's immediately disregarding it? <2> silli all I want was a quick way to get a "unget cache" <2> so I'm resorting to reading everything first <7> that's why I keep writing it for you <7> and then you ignore it. :) <17> kim_, i wrote some primitives routines for SDL, but not any perl bindings :) <9> q[ender] knows c?! <17> sili, "knows C" is a bit... what's the word, generous. but yeah, enough to do damage. <2> merlyn, oh I got your point regarding how my code would stop at a linen representing a "perl false" <18> I know q[ender]. <18> (Enough to do damage.) <19> GumbyBRAIN: beloved Yaakov <20> i found a nearby indian grocery store, and was wondering if you felt like stealing them. <17> hahaha <17> GumbyBRAIN, beloved Andi <20> and fire came down from heaven, burning as it is to come, the almighty. <17> :O <17> OH NOE <12> q[ender], actually, there's now sdl-gfx <21> stealing the indians? <12> I hope installing perl-sdl here will aslo give me perl-bindings for gfx :-) <18> q[ender]: Find a way to come to YAPC, man! <9> Yaakov: i was going to go, but i'll be in ph <9> .ph that is <9> Yaakov: so i won't have the pleasure of har***ing you. <17> heh <17> that's what sili does <17> har*** people <18> sili: I am sad clown. <9> hairussed. <9> yay. <22> perlbot: .ph <16> .ph is Philippines <17> clowns scare the piss outta me <19> GumbyBRAIN: are you a clown ? <20> you don't have to report you to do it not: i am sad clown. <19> oh the irony. <12> perl functions have named parameters these days too eh? Does Larry Wall have spies watching Guido van Rossum? :-P <19> er .. hi, simcop2387 :) <18> q[ender]: If you don't come to YAPC, and bring the B.A., a clown will kill you in your sleep--but he will wake you up just before he does it. <17> then it wouldn't really be in my sleep, would it? <2> is there a != equivalent of =~
Return to
#perl or Go to some related
logs:
#ubuntu MacMania7 ubuntu pam_keyring.deb #gentoo artec t1 ubuntu #centos ssh-add kubuntu .xsession bellsouth blocking python m4a awk switch lines
|
|