| |
| |
| |
|
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
Comments:
<0> its like its reading logs from a cache? <0> cause <1> Angel-SL: yes, and? <0> it says 88 lines when it should be 100+ <1> so? <0> the html doesnt get changed. <1> if the cache is the problem, nuke the cache. <0> only replaced. <0> hhow to? <2> integral, iTMS is bad as it is, what with having to burn to CD then rip in order to change to a more compatible format. for lots of music, that's only bad. for cl***ical music, i'd imagine that'd be horrible <0> how to? <1> it's got a really, really crap cl***ical selection that only superficially looks good. <1> angel-SL: rm -rf <3> Speaking of cl***ical (sic), Bond = the win <4> guys, i try to do an example from perldoc -q HTML, => http://pastebin.com/532067, which doesn't seem to work :/ <5> The paste 532067 has been moved to: http://erxz.com/pb/519
<6> tesz111_: rtfm <4> which one <6> HTML::Parser <6> among others <6> that's the one that stands out <7> can i use if(-x $file) to test if a file exists? because it doesn't really work.. <8> -e is exists, -x is executable <7> argh <7> lol thank you <8> perlfunc <7> perldoc perlfunc? <3> perlyes. <7> thx <9> Hi... how do I install perl modules (eg Locale::TextDomain) ? <10> perl -e shell -MCPAN <10> install X <9> Slaughter, thanks <4> parse_html is deprecated function of HTML::Parse :( <4> bah <3> Damnit. <11> How can you p*** an array as argument to a function? my @array = ('foo', 'bar'); SubFunc (@array); sub SubFunc { my @var = shift; } does not work <3> When I moved, my comfy office chair broke and this one hurts my bony *** after like 2 hours. :( <1> see perlref, perlreftut, perldsc, perllol, perldata, etc <1> candyban: References! <11> integral: k. Thanks <12> hellow, cgi question, I'm building a page which contains a button to download a file. When clicking the webbutton,I print "Content-type: file/txt\n\n"; after this I print the actual content of the file. This works great, but the filename to be downloaded has the name of the CGI script itself, and that's not clean,...... how could I handle this? <13> m***ctrl: Why are you sending the content-type "file/txt"?! <11> integral: Thanks SubFunc (\@array) appearently :) <1> candyban: yes <1> anyone happen to have a histogram of word length from /usr/dict/words yet? <12> resiak: this says to your browser, everything that followes is in the form of a file,... which is also the case <13> m***ctrl: point me to _anywhere_ where that mime-type is documented? <13> (if you can, I will happily stand corrected) <1> m***ctrl: you can't just make up mime-types. <12> resiak: how, wait a minute, i've found this googling,... <6> sure you can! they just won't work with anything <1> google is not a font of truth. <13> integral, lies! <12> decay: which I will enjoy <6> the eagles of death metal? <12> anyhow,.... <12> ok, I got content that is sitting in an array, I want to be able to download a file that contains this data,.... that's it acutally.... <4> allright... i've been reading tfm, and still got no clue how to parser the html correctly, by losing all those tags <td> <a href> and so on... all i need is a plain text in a variable :/ <4> nvm... seems that i find everything i need within last drop of anger ^^ <4> hope that works <14> how do you make perl look for .so files in additional locations ? <6> lynx -dump is probably a better choice than curl, if you just want a plaintext version of the file <14> I would basically need something like LD_LIBRARY_PATH set from within perl <14> but $ENV{'LD_...' <14> is not doing anything <4> Kulrak: lynx -dump -dont_wrap_pre lags with the page i need to parse <6> ok <6> oelewapperke: perldoc perlrun <15> perhaps dancing around the office singing o/` I'm right and you are wrong o/` isn't the best way of getting on with one's boss >:) <1> bah, do I really want to be writing my own btree in C? <14> Kulrak: euhm ... I'm doing this from within a cgi <14> so I can't do that <16> if i have a program that uses a perl script to conenct to a mysql DB, but the script cant connect to the db, how cna i output the error? <16> can
<17> synthetiq: perldoc DBI? <17> there's a errstr method <17> as stated in the very fine docs <17> on the first ****ing page <6> oelewapperke: http://www.perlcode.org/tutorials/perl/shared_hosting.html <18> Kulrak's url is at http://xrl.us/jsyg <19> hi all, i was wondering if you could help, I'm trying to use a foreach to process a multidimentional ***ociative array. the first foreach works fine but the second doesn't, i'm using the following syntax <19> foreach $field (keys %new_structure{$table}) { <20> I think you mean keys %{$new_structure{$table}} <19> aha <19> nice one brend <20> Perl never uses one glyph when fifteen will do <19> except I'm still failing syntax checking <19> ? <15> you silly english types with your multidimentional's <20> synapt1c, what's the error? <19> syntax error at createtable-insert-select.pl line 171, near "%{new_structure{" <20> Spot the missing dollar sign! <20> That <19> line 171 reads: foreach $field (keys %{new_structure{$table}}) { <20> Yeah. Compare yours to mine <19> ah <21> %{new needs to be %{$new <20> With a fine toothcomb <19> i'm dumb <19> ;P <22> I need to edit a file with perl basically its a conf file with variable=<value> I need to change the <value> part after asking certain question <20> Though why one would want to come teeth is a mystery to me <20> Incidentally, your filename terrifies me <15> yeah, foo.pl would have been so much clearer. <21> close_to_debian, and? <19> BinGOs, i know... its erm <19> early beta ;) <20> BinGOs, it's not the name itself, it's what it implies about the program <19> lol <15> oh. i'm welsh and slow. <19> it basically generates a create table syntax from a select statement <20> odrm, and now he's going to ask us some scary question about regexps. <20> synapt1c, _what_ <22> odrm: The variables entered by the user should be replaced in the <value> part <19> its a dumb database restructuring tool <22> odrm: What is he best way to do that <21> i think i know what you're trying to achieve, but what are you asking for help with? <20> close_to_debian, with a module written for your config file format! <20> There's probably one already <22> Brend: I dont get you <21> read the old config file, ask the question, and write the new version if the value changed... <20> close_to_debian, http://search.cpan.org/search?query=config&mode=all <20> "config file" might or might not be a better search term. Browse around. <19> perl is such a wonderful language, people died trying to understand the hyroglyphs until they discovered perldoc, the rosetta stone of perl <19> ;) <23> BinGOs - you around? <15> you saying i'm fat :( <23> Nope, are you? <23> :P <22> Brend: Thanks <20> BinGOs, are you actually Welsh? <23> BinGOs - my irc bot is broken. can you help me repair him? :( <15> yes. <20> _awesome_ <15> yes. <23> BinGOs - wooties. <23> BinGOs - i've defined some options (nickname, etc) when I ->spawn the irc component, then I issue a ->yield( connect => { server => $server, port => $port } ) or die "$!"; <23> BinGOs - but it just sits there, doesn't connect :( <15> pesky thing. <23> Indeed. <15> can you actually connect to the server/port combo using telnet for instance ? <23> yes. <23> I'm connected right now in irssi on the same machine. <15> okay. <15> connection limits per IP perchance ? <23> nope, it was working fine previously...
Return to
#perl or Go to some related
logs:
#math openlook livecd
fedora 6 libdts slime style-warning freetds opensuse #css knoppix codeblocks #centos canon i255 driver ubuntu gentoo unmerge remove-config-files
|
|