#perl
24 October 2007
Total 38 pages. You are browsing page 2/38.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
00:27 <****> Necos: or one of the other CSV parsers
00:27 <****> ya know... my brain didn't even think of that...
00:28 * shaldannon suggests Text::CSV or Text::CSV_XS but if ya wanna do it ugly like... (my $first, my $last, udnef) = split(",", $string, 3);
00:28 <****> *undef
00:28 <****> Necos: train your brain to always do something like this: I want to do X. I wonder if anyone else has already done X. Let's check CPAN!
00:28 <****> oh, right... split takes an index too...
00:29 <****> but I'd still recommend Text::CSV(_XS)?
00:29 <****> my boss just came in like 20 min ago and was bitchin at me about doing some text extractions from our student data...
00:29 <****> so i was under a bit of duress, so to speak =p
00:30 <****> duress or dress?
00:30 * shaldannon runs
00:30 <****> lol
00:30 <****> not into that freaky stuff =p
00:30 <****> Necos: bosses are only good as far as you can throw them.
00:30 <****> i can't stop eating.
00:30 <****> agreed, but meh, need to get this crap done... i've been sitting on this project for like a week...
00:30 <****> PerlJam: that depends on the boss... I work for a guy who's contributed to some perl modules :)
00:30 <****> http://www.mikebaas.org/voicemail/Throbbing_Dick.mp3
00:31 * shaldannon feels very lucky
00:31 <****> does text::csv remove whitespace too?
00:31 * Khisanth buries Necos under a pile of opned durians
00:31 * Necos dies
00:31 <****> Khisanth: ew!
00:31 <****> eheheahaehae
00:31 <****> PerlJam: and this is why my team works remotely
00:32 <****> PerlJam: if they don't get the opportunity to try and throw me, I can keep pretending.
00:32 <****> hehe
00:32 <****> they could hire someone to throw you
00:33 * Khisanth likes Text::xSV more
00:34 * WebDragon prefers AnyData and DBD::AnyData
00:36 * initself2 prefers YAML.
00:36 <****> initself2: youm must like segfaults then.
00:36 <****> segfaults, psuedohashes, BRING EM ON!
00:37 * mst beats initself2 to death with the 'fields' pragma
00:37 <****> is that why my Catalyst crashes with a segfault when I try and access my application twice in a row after an error?
00:37 <****> no, that's probably just because it hates you.
00:37 <****> Figures.
00:38 <****> hey mst, you wanna do my work for me this afternoon? I don't feel like doing it.
00:40 <****> hmmm
00:43 <****> "www.MediaMutation.com"
00:43 <****> ah...
00:45 <****> fields is clean these days
00:47 <****> my @list = @names[1,3,5] <--- @list has the 2nd, 4th, and 6th elements correct?
00:47 <****> eval: @names = qw(A B C D E F); @names[1,3,5];
00:47 <****> mst: F
00:47 <****> eval: @names = qw(A B C D E F); [ @names[1,3,5] ];
00:47 <****> mst: ['B','D','F']
00:47 <****> doh
00:47 <****> Necos: you could've done that with perl -e
00:48 <****> Necos: :P
00:48 <****> it's the end of the day... my intelligence is waning...
00:48 <****> time to go out on irc
00:49 <****> eval: @names = qw(A .. F); @names[0-1];
00:49 <****> Necos: F
00:49 <****> bah...
00:50 <****> eval: @names = qw(A .. F);[ @names[0..1] ]
00:50 <****> bennymack: ['A','..']
00:50 <****> buubot is a scalarian
00:50 <****> lol
00:51 <****> just wierd that this works...
00:51 <****> eval: @names = ('A' .. 'F'); @names[0,1];
00:51 <****> Necos: B
00:52 <****> bah, he doesn't like to return lists =p
00:52 <****> apparently, my code was right, just buubot is a scalarian =p
00:54 <****> Necos: not with the qw !
00:55 <****> eval: @names = ('A' .. 'F'); @names[0..1]
00:55 <****> oMish: B
00:55 <****> eval: @names = ('A' .. 'F'); [@names[0..1] ]
00:55 <****> oMish: ['A','B']
00:55 <****> bingo
00:55 <****> eval: (1,2,3)
00:55 <****> oMish: 3
00:55 <****> eval is bad at printing lists
00:55 <****> oMish: ''ERROR: 8593: Can't locate object method "at" via package "printing" (perhaps you forgot to load "printing"?) at (eval 238) line 1.
00:56 <****> eval is stupid
00:56 <****> oMish: ''ERROR: 8596: Can't locate object method "is" via package "stupid" (perhaps you forgot to load "stupid"?) at (eval 238) line 1.
00:56 <****> eval is stupider than GumbyGrain
00:56 <****> oMish: ''ERROR: 8608: Can't locate object method "than" via package "GumbyGrain" (perhaps you forgot to load "GumbyGrain"?) at (eval 238) line 1.
00:57 <****> hehehe
00:57 <****> hey all
00:58 <****> hiya
00:58 <****> I need a quick off-topic english lesson.
00:59 <****> oh rly
00:59 <****> lol
00:59 <****> that's not english he's speaking...
00:59 <****> Why or why not would an area where rich people live being called poverty hill be considered "ironic"
00:59 <****> lol
00:59 <****> because they're not poverty stricken?
00:59 <****> see ironics usage notes in a good dic
01:00 <****> what do you think word "ironic" means ?
01:00 <****> anno-: from dictionary.com "the use of words to convey a meaning that is the opposite of its literal meaning"
01:00 <****> that's a definition, not usage notes
01:00 <****> Elaine: Isn't it ironic ? The woman in the subway: What's "ironic" ?
01:01 <****> ironicle
01:02 <****> What the heck was that quit message?
01:03 <****> Woman: I started riding these trains in the '40s. Those days a man would give up their seat for a woman. Now we're liberated and we have to stand. Elaine: It's ironic. Woman: What's ironic? Elaine: This -- that we've come all this way, we've made all this progress, but, you know, we've lost the little things, the niceties. Woman: No, I mean what does "ironic" mean?
01:03 <****> lol
01:04 <****> does "interested by" mean something in particular?
01:15 <****> is there a simple way to create a webbased dictionary out of this Word-List? http://klassen.edvschule-plattling.de/projekte/ding/de-en
01:16 <****> Romina: yeah, write a script to do so. :)
Total 38 pages. You are browsing page 2/38.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
