Subj : ruby and perl To : Maurice Kinal From : tony summerfelt Date : Sun Feb 20 2005 12:24 pm # On Sat, Feb 19/05 at 02:45 PM, Maurice Kinal wrote to tony summerfelt: MK> OO. I just looked. You got me curious enough to hunt it down. I MK> Do you prefer it? for a quickie command line program, i still use perl. if i need a quick gui program, i still use tcl/tk... ruby has been the only language that let me write the functions i've been thinking about for ages, but were never able to implement easily. for example, one of the things the logging program/module will let you do is trim/archive (several different ways) a log file while at the same time still logging information. with 3 or 4 lines of code you will be able to monitor a log file. i'm currently heavily testing a program (using the log module) that monitors every log file on my system. threads are the easiest to use that i've seen in a while. if you have code that doesn't rely on resources (or even if it does, with extra glue) you can write code like: a=Thread.new { # independent code here } b=Thread.new { # more independent code here } the program will only take as long as the longest running thread... best part is that the ruby code is completely portable...the threading code will run under dos without a problem... ruby is great for larger projects. and it's OO from the ground up, unlike python... ..t .... telnet://ventedspleen.dyndns.org --- GoldED/spleen 3.0.1+ * Origin: ventedspleen.dyndns.org (1:249/100) .