#perl - Sat 31 Mar 2007 between 09:35 and 09:58



nanonymedunstabulos_: very likely
Mercuryspirosd: Well, it could be worse. Ages ago, when writing a vaguely complicated app for my own use, I started playing with, I think it was pre-initializers.
spirosd: I had heisenbugs and segfaults in perl.
nanonymeunless it was just that the guy liked to hide all his code in a oneliner and it was normal Perl code hidden inside a //eeeeeeee or whatever :)
spirosdhehe
Mercuryspirosd: These days, I wish that I had made a copy of that code before figuring out WTF I had done and fixing it.
Because I'm quite sure that I know enough perl these days that I couldn't reproduce it if I tried.
actiondunstabulos_ wants to know how to segfault perl
dunstabulos_wants to know how to segfault perl
nanonymemight be hard unless you would want to recompile it :)
Mercurydunstabulos_: I hope that the bugs in question were fixed, and, trust me, bugs that vanish entirely when you throw a printf into the function are worse.
nanonymebroken perl could indeed segfault quite easily
magic_userok
Mercurynanonyme: Nope, I did it in pure perl, was years and years ago. Was a functional perl compiled by the distribution.
nanonymehmm
magic_useris learning perl the best book for (uh learning perl?)
Mercurynanonyme: As I said, I wish I had kept a copy of it.
magic_useri am gettign really frustrated...
Mercurynanonyme: IIRC, I was doing evil things with preinitializers, functions, and complex data structures.
spirosdmagic_user id say so, in my personal experience at least. that + hands on experience
Mercurynanonyme: But it's been ages.
magic_userdo perl people use bash when they are doing little searches and finds
spirosdmagic_user make up a small project you want to do, and do it in Perl, nothing beats that
magic_userI have one
spirosduse File::Find if you want to do it in Perl, it acts just like 'find'
magic_usera web page that has a box and an enter button, when you type something, enter, it runs a search or whatever on the linux box...
also
a web page with 10 sql scripts, that returns querys off of oracle9
MercuryAnyhow, I'm going to see about passing out, having imparted more then enough evil into the channel for one day.
magic_userthey dont want to run the scripts by hand anymore
spirosdnite Mercury
Mercuryspirosd: Night.
dunstabulos_magic_user: never used it myself but i think there is a perl shell? but if you mean in a perl program, there are perl modules that either replace or neatly encapsulate most 'searches and finds'.
magic_userhm
nanonymeencapsulation is nice since you can be sure stderr is done in some intelligent way then ^^
(i have trouble thinking a module got popular if it spontaneously threw all of its errors on the screen)
bleh, my brain is stuck => shower
magic_userI just don't know.
sbingnermagic_user, what kind of searches and finds?
books have nothing on the perl manpages -- they have ALL the info you need btw
magic_userstuff like checking some directories for files size 0, which means a tranfer error from a windows box typically. and rewriting file endings if they are botched by content folks, such as file123.wmv.wmv

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 

IrcArchive