in reply to epoch time conversion

My impression is that you might be having problems with the mechanics of split and join, so here is a simple example that you could run with "perl -n" that will read from standard input and write to standard output.
($t, $rest) = split /,/,$_,2; print join(",",scalar(localtime $t),$rest);

Replies are listed 'Best First'.
Re: Re: epoch time conversion
by ordimus (Initiate) on Dec 10, 2002 at 19:44 UTC
    ok...but how do i feed the file into this? sorry for my lack of knowledge here....