RE: Perl - Was Unix time conversion function

2003-01-29 Thread Jesse, Rich
Because I'm picky. I ruled out OracleTool because it's web-based. While it may be an advantage at times (don't need to install on every machine I use), it's a whole number of layers I don't want to troubleshoot when in Crisis Mode. OraC is pretty cool. I looked at it when I got O'Reilly's

RE: Perl - Was Unix time conversion function

2003-01-29 Thread Jared . Still
of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Perl - Was Unix time conversion function Because I'm picky. I ruled out OracleTool because it's web-based. While it may be an advantage at times (don't need to install on every machine I use), it's a whole number

Perl - Was unix time conversion function

2003-01-28 Thread Robert Freeman
Title: unix time conversion function Cary I once thought I wanted to do some Perl coding... So I bought a book and started to play with it. It made my head bleed... literally I had little droplets of blood emerging from my head They rushed me to the hospital and put me in the Perl

RE: Perl - Was unix time conversion function

2003-01-28 Thread Cary Millsap
Title: unix time conversion function I think its like almost any subjective idea: its beautiful if you love it, heinous if you hate it. I love Perl; it does what I mean. The only thing I really dont like about Perl 5 is its yucky way of supporting complex data structures. Im eager

Re: Perl - Was unix time conversion function

2003-01-28 Thread Rachel Carmichael
about Perl or am I a lone wolf in a Perl world? RF -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cary Millsap Sent: Friday, January 24, 2003 4:29 PM To: Multiple recipients of list ORACLE-L Subject: RE: unix time conversion function

RE: Perl - Was unix time conversion function

2003-01-28 Thread April Wells
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cary Millsap Sent: Friday, January 24, 2003 4:29 PM To: Multiple recipients of list ORACLE-L Subject: RE: unix time conversion function At the risk of stating the obvious, doing it in Perl

RE: Perl - Was Unix time conversion function

2003-01-28 Thread Jamadagni, Rajendra
Title: RE: Perl - Was Unix time conversion function I used to be, but I finally bit the bullet ... I ordered my copy of Jared's book from Amazon.com yesterday !! Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot

RE: Perl - Was unix time conversion function

2003-01-28 Thread Alex
in a Perl world? RF -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cary Millsap Sent: Friday, January 24, 2003 4:29 PM To: Multiple recipients of list ORACLE-L Subject: RE: unix time conversion function At the risk of stating

Re: Perl - Was unix time conversion function

2003-01-28 Thread Denny Koovakattu
wolf in a Perl world? RF -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cary Millsap Sent: Friday, January 24, 2003 4:29 PM To: Multiple recipients of list ORACLE-L Subject: RE: unix time conversion function At the risk of stating

RE: Perl - Was Unix time conversion function

2003-01-28 Thread Hately, Mike (NESL-IT)
Perl kind of makes sense but I haven't reached the point where it clicks and becomes natural. I still need to think about it very hard when I'm writing it. Hence, a lot of the time I fall back on shell scripts supplemented by pre-written (some would say shamelessly ripped off) perl code for the

RE: Perl - Was unix time conversion function

2003-01-28 Thread Orr, Steve
Title: unix time conversion function Now that's what I call a "Perl Breakdown!!"...A nervous breakdown brought on by pathological eclecticism. The cure for this is a healthy dose of Python. It is truly refreshing!! Steve Orr Oracle DBA and part-time Python Evangelist. ---

RE: Perl - Was unix time conversion function

2003-01-28 Thread Stephen Lee
Original Message In my mind there is nothing obvious about Perl, Anyone else feel that way about Perl or am I a lone wolf in a Perl world? I think the correct progression is to start with ksh; then mix in sed, awk,

RE: Perl - Was Unix time conversion function

2003-01-28 Thread Jesse, Rich
For me, it was either Perl or an icky bass-ackward pipe-laden awk/sed/regex unmaintainable bastion. OK, I couldn't get rid of the regex. While I'll not be entering the Obfuscated Perl contest anytime soon, I think Perl is much easier to understand for a traditional programmer (Assembly, BASIC,

Re: Perl - Was unix time conversion function

2003-01-28 Thread Markus Reger
world? RF -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cary Millsap Sent: Friday, January 24, 2003 4:29 PM To: Multiple recipients of list ORACLE-L Subject: RE: unix time conversion function At the risk of stating the obvious

Re: Perl - Was unix time conversion function

2003-01-28 Thread Keith Moore
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cary Millsap Sent: Friday, January 24, 2003 4:29 PM To: Multiple recipients of list ORACLE-L Subject: RE: unix time conversion function At the risk of stating the obvious, doing it in Perl looks like

RE: Perl - Was unix time conversion function

2003-01-28 Thread Stephen Lee
My impression of Programming Perl was that it was primarily intended as an ego trip for the author. I found Learning Perl 2nd Ed. and Perl Core Language / Little Black Book to be much more useful. Yes, I have the Perl for Oracle DBA's too, but haven't had the time to get into it yet.

RE: Perl - Was Unix time conversion function

2003-01-28 Thread Scott Stefick
To: Multiple recipients of list ORACLE-L Subject: Perl - Was Unix time conversion function Cary I once thought I wanted to do some Perl coding... So I bought a book and started to play with it. It made my head bleed... literally I had little droplets of blood emerging from my head They rushed

RE: Perl - Was Unix time conversion function

2003-01-28 Thread Jared . Still
to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Perl - Was Unix time conversion function For me, it was either Perl or an icky bass-ackward pipe-laden awk/sed/regex unmaintainable bastion. OK, I couldn't get rid

Re: Perl - Was unix time conversion function

2003-01-28 Thread Jared . Still
to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Perl - Was unix time conversion function Cary I once thought I wanted to do some Perl coding... So I bought a book and started to play with it. It made my head bleed

RE: Perl - Was unix time conversion function

2003-01-28 Thread Orr, Steve
Title: RE: Perl - Was unix time conversion function If you can do it in Perl chances are you can do it better in Python and someone can actually read and understand it without a PHD... AKA Perl Helper Dweeb. :-) In Perl it takes effort to write readable code but it comes naturally in Python

RE: Perl - Was unix time conversion function

2003-01-28 Thread Gogala, Mladen
Title: RE: Perl - Was unix time conversion function I haven't done anything with Python but my problem with Python or Ruby is that they don't come with many OS variants. Perl comes with any OS and there is a huge repository of ready made scripts. I have to confess stealing some from

RE: Perl - Was unix time conversion function

2003-01-28 Thread Cary Millsap
of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Perl - Was unix time conversion function Cary I once thought I wanted to do some Perl coding... So I bought a book and started to play with it. It made my head bleed... literally I had little droplets of blood emerging

RE: Perl - Was unix time conversion function

2003-01-28 Thread Stephen Lee
-Original Message- I'll bet Stephen has a toolbox in his garage that contains a single flat blade screwdriver and no phillips screwdrivers nor any wrenches. ;) - Don't need tools. Got pshycokinesis (got milk too). Been taking lessons

RE: Perl - Was Unix time conversion function

2003-01-28 Thread mkb
Jesse, Rich [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/28/2003 07:58 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Perl - Was Unix time conversion function For me

RE: Perl - Was Unix time conversion function

2003-01-28 Thread Alex
You can always outsource your perl development to me. :) On Tue, 28 Jan 2003, Hately, Mike (NESL-IT) wrote: Perl kind of makes sense but I haven't reached the point where it clicks and becomes natural. I still need to think about it very hard when I'm writing it. Hence, a lot of the time I

RE: Perl - Was unix time conversion function

2003-01-28 Thread Orr, Steve
Title: RE: Perl - Was unix time conversion function Are you sure? It's written in C and is supposed to be relatively portable. I've not tried it on other platforms but, in addition to HP-UX and AIX, Python runs on: AS/400; Solaris; OS/2; Amiga; AROS; BeOS; PalmOS; QNX; VMS; VxWorks; Sony

Re: Perl - Was unix time conversion function

2003-01-28 Thread Tim Bunce
On Tue, Jan 28, 2003 at 09:59:46AM -0800, Orr, Steve wrote: If you can do it in Perl chances are you can do it better in Python and someone can actually read and understand it without a PHD... AKA Perl Helper Dweeb. :-) In Perl it takes effort to write readable code but it comes naturally in

Re: Perl - Was unix time conversion function

2003-01-28 Thread Glenn Stauffer
On Tue, 2003-01-28 at 17:49, Tim Bunce wrote: If you can do it in Perl chances are someone already has... Check it out: http://search.cpan.org Just search for something... I think you'll find that the same is very rapidly becoming as true for Python. I'm not trying to get into

RE: Perl - Was unix time conversion function

2003-01-28 Thread Robert Freeman
[EMAIL PROTECTED] cc: Subject:Perl - Was unix time conversion function Cary I once thought I wanted to do some Perl coding... So I bought a book and started to play with it. It made my head bleed... literally I had little droplets of blood emerging from my head

unix time conversion function

2003-01-24 Thread Adams, Matthew (GECP, MABG, 088130)
Title: unix time conversion function Anybody got a handy little function to convert a standard unix seconds-since-Jan-1970 epoch time (stored as a number) to a readable date? It would save me a lot of time not having to re-invent the wheel. Matt Matt Adams - GE Appliances

RE: unix time conversion function

2003-01-24 Thread Adams, Matthew (GECP, MABG, 088130)
Title: RE: unix time conversion function Nevermind, Once I thought about it for more than 30 seconds, I got it. TO_DATE('01/01/1970','MM/DD/') + SECONDS / 86400 easy as 3.141592654 Matt Adams - GE Appliances - [EMAIL PROTECTED] My computer beat me at chess, but I won when

RE: unix time conversion function

2003-01-24 Thread Post, Ethan
Title: unix time conversion function Kinda...you can change the year to 1970 if you want, this also converts to minutes, not seconds. It is a really ugly function but it seems to work. You could always use perl. function f_minutes { # Funky function I use to calculate the number of minutes

RE: unix time conversion function

2003-01-24 Thread Cary Millsap
Title: unix time conversion function At the risk of stating the obvious, doing it in Perl looks like this: #!/usr/bin/perl use Date::Format qw(time2str); my $t = 1043447100; # for example print time2str(%T %A %d %B %Y, $t), \n; Cary Millsap Hotsos Enterprises, Ltd. http

RE: unix time conversion function

2003-01-24 Thread Post, Ethan
Title: unix time conversion function Yes I knew it was easier in perl, I prefer to distribute a single script whenever possible and I write pretty much everything in shell. However, I just figured out a trick to put the perl directlyin my .ksh scripts (see the post I posted a few minutes ago