Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

15 October 2007


Total 32 pages. You are browsing page 3/32.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

01:21 <****> $________ = 3?
01:21 <****> but then I started to use camel because I thought that was the direction of the industry.
01:22 <****> Exatly, but as I added more variables they got way to long and hard to differentiate.
01:22 <****> ... was it 15 or 16 _'s ??? hrmmm
01:22 <****> No not that jager... :P
01:23 <****> maybe I will go back to _
01:23 <****> I did that once, where I was generating Perl code within Perl, and wanted indentation to remain intact both in the generated code and the outer code; I had $i____, $i________, and $i____________
01:24 <****> eww :)
01:24 <****> Yeah, it was kindof gross, but it worked.
01:24 <****> My favorite variable is $hit
01:24 <****> and $uck
01:25 <****> $hit is more usable, because it can be looked at as "hit"
01:25 <****> so you have some plausable denyability.
01:25 <****> :(
01:25 <****> All I am getting is tags and not content.
01:25 <****> How silly.
01:26 <****> How do I parse out my content??
01:26 <****> Everyone knows using utf8 in your variable names is much cooler
01:26 <****> content is so web 1.0
01:26 <****> my $? = "PHP";
01:26 <****> Well.. this isn't my site, I just want there data.
01:26 <****> their
01:26 <****> perlbot, utf8 ?
01:26 <****> ? U+2623 "BIOHAZARD SIGN", category: "Miscellaneous Symbols", utf8 bytes: E2 98 A3
01:27 <****> screw it, I'm gonna use regex
01:27 <****> I wanna get payed tommorow
01:27 <****> tomorrow
01:27 <****> paid
01:27 <****> Yes that too. :)
01:27 <****> What a lot of typoes.
01:27 <****> OH NOES!! IT'S TEH HACKER!!
01:27 <****> I hope your code is less typo-prone.
01:28 <****>:)
01:28 <****> hehe
01:28 <****> ok
01:28 <****> Zoffix: But is he one of these:
01:28 <****> perlbot, 1337 h4x0r
01:28 <****> Not a 1337 h4x0r: http://jagerman.com/h4x0r.mpg
01:28 <****> Hehe, my kid loves cyberchase. :)
01:28 <****> haha, seen it :)
01:28 <****> I actually do really well not typo-ing in code.
01:29 <****> Much better than irc.
01:29 * jagerman calls up the diaeresis again
01:29 <****> I think perl syntax is much easier than English.
01:29 <****> typoïng
01:34 <****> do i even need HTML::treebuilder to use HTML::Element?
01:35 <****> TT is the shit.
01:38 <****> How would I print a sequence of unicode chars? Something like: $x = '243A'; print "\x{$x}"; ?
01:38 <****> # except in a loop with $x variating
01:40 <****> perlbot, unicode
01:40 <****> in which encoding?
01:40 <****> unicode
01:40 <****> unicode is not an encoding
01:40 <****> UTF-8 I assume :/
01:40 <****> hah
01:41 <****> Zoffix: perldoc -f chr
01:41 <****> \x243A prints ?
01:41 <****> Thanks.
01:41 <****> and you better tell perl about the expected encoding somehow
01:42 * damog spanks Perl a little bit
01:48 <****> prakriti: HTML::TreeBuilder and HTML::Element are apart of the same distribution so installing one without the other would be difficult
01:52 <****> Khisanth : I am just trying to figure out how traversing the tree works. There are alot of methods here..
01:52 <****> then it's HTML::Element
01:52 <****> TreeBuilder is just for ... well building the tree :)
01:52 <****> seriously.
01:53 <****> traversing should be covered by look_down, look_up, parent, content*
01:54 <****> I think I am starting to see the light.
01:55 <****> prakriti: ?
01:55 <****> can you parse that light with regex?
01:55 <****> I can parse ANYTHING with regex.
01:58 <****> oh man... content_list didn't work exactly as I expected.
01:58 <****>{'_parent'}{'_content'}[1]{'_content'}[3]{'_content'}[0]{'_content'}[0]{'_content'}[5]{'_content'}[0]{'_content'}[0]{'_content'}[0]{'_content'}[1]{'_content'}[0]{'_content'}[1]{'_content'}[0]{'_content'}[2],
02:01 <****> holy craptacular =P
02:02 <****> I have encountered feelings with MySQL's LAST_INSERT_ID() :-/
02:02 <****> "encountered feelings"
02:03 <****> yes!
02:04 <****> prakriti: trying to dump HTML::Elements with Data::Dumper isn't a very good idea
02:05 <****> What the.
02:05 <****> Yeah, seems not.
02:06 <****> just RTFM and use the methods
02:06 <****> I'm reading.
02:06 <****> And using.
02:09 <****> anyone know Log::Log4perl well?
02:10 <****> it seems to be feeding some appenders unexpected params when trying to log
02:10 <****> is there a XML module that will take XML and turn it into a nice complex data structure? id like to get an object back in such a way that I dont have to care about XML from parse on
02:11 <****> XML::Simple
02:11 * imMute searches CPAN
02:12 <****> core: XML::Simple
02:12 <****> imMute: Module XML::Simple does not appear to be in core. Perhaps capitalization matters or try using the 'cpan' command to search for it.
02:12 <****> buu: is there one like that (XML::Simple) that is core already?
02:13 <****> No.
02:14 <****> nothing should be core
02:15 <****> Yeah, good point.
02:15 <****> I have found XML::Mini very handy.
02:15 <****> as someone on perl buzz said, namespaces doesn't mean anything nowadays
02:15 <****> don't*
02:16 <****> CPAN namespaces
02:17 <****> "This namespace Reserved for future development"
02:17 <****> osx is trash!
02:17 <****> how does grep not work?


Total 32 pages. You are browsing page 3/32.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo