| nanonyme | dunstabulos_: very likely |
| Mercury | spirosd: 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. |
| nanonyme | unless 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 :) |
| spirosd | hehe |
| Mercury | spirosd: 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. |
| action | dunstabulos_ wants to know how to segfault perl |
| dunstabulos_ | wants to know how to segfault perl |
| nanonyme | might be hard unless you would want to recompile it :) |
| Mercury | dunstabulos_: 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. |
| nanonyme | broken perl could indeed segfault quite easily |
| magic_user | ok |
| Mercury | nanonyme: Nope, I did it in pure perl, was years and years ago. Was a functional perl compiled by the distribution. |
| nanonyme | hmm |
| magic_user | is learning perl the best book for (uh learning perl?) |
| Mercury | nanonyme: As I said, I wish I had kept a copy of it. |
| magic_user | i am gettign really frustrated... |
| Mercury | nanonyme: IIRC, I was doing evil things with preinitializers, functions, and complex data structures. |
| spirosd | magic_user id say so, in my personal experience at least. that + hands on experience |
| Mercury | nanonyme: But it's been ages. |
| magic_user | do perl people use bash when they are doing little searches and finds |
| spirosd | magic_user make up a small project you want to do, and do it in Perl, nothing beats that |
| magic_user | I have one |
| spirosd | use File::Find if you want to do it in Perl, it acts just like 'find' |
| magic_user | a 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 |
| Mercury | Anyhow, I'm going to see about passing out, having imparted more then enough evil into the channel for one day. |
| magic_user | they dont want to run the scripts by hand anymore |
| spirosd | nite Mercury |
| Mercury | spirosd: 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_user | hm |
| nanonyme | encapsulation 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_user | I just don't know. |
| sbingner | magic_user, what kind of searches and finds? books have nothing on the perl manpages -- they have ALL the info you need btw |
| magic_user | stuff 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 |