Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Inconsistent ls -l results??

by Anonymous Monk
on Jun 14, 2001 at 22:26 UTC ( #88552=note: print w/replies, xml ) Need Help??


in reply to Re: Inconsistent ls -l results??
in thread Inconsistent ls -l results??

That sounds good. I don't use stat because stat returns only epochal time, and I would have to import an extra module to re-parse that into human-comprehensible calendrical time.

Replies are listed 'Best First'.
Re: Re: Re: Inconsistent ls -l results??
by ZZamboni (Curate) on Jun 14, 2001 at 22:36 UTC
    Not true. localtime($epoch_time) will return an array with all the time components. And scalar(localtime($epoch_time)) will even give you a nicely formatted string.

    --ZZamboni

      oh ok. The Date::Time or was it Time::Date or whatever has a similar function that takes a lot more complicated arguments. still, `date` works just fine for me. security is not really an issue in my environment.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://88552]
help
Chatterbox?
[perldigious]: Hmm, thanks Lotus1... perldigious scribbles note to buy lots of opossums as "pets" in the future to hang around outside his property. :-P
[1nickt]: You must twist and pull! If you burn, use tea tree oil etc, the tick barfs (inside your blood vessel) and you get all the loevely bacteria in his gut transferred to yours.
[1nickt]: tweesers work just fine
[hippo]: Hope everyone else is enjoying their lunch too.
[1nickt]: However, note that it takes between 2 and 4 hours for a tick to be able to start transmitting bacteria. So even if it has burrowed in and started eating, if you get it soon you should be OK.
[perldigious]: 1nickt: No more red meat! It would be more humane to just kill you, wouldn't it! :-)
[1nickt]: Just don't make it barf.
[1nickt]: perldigious that's exactly what my stepson says.
[1nickt]: the tick that can make you a vegetarian
[perldigious]: Your Mother: Yeah, I have a tool for ticks that I use (mostly on my dogs thankfully), but it's just a cheapo one I got from my vets office... it works pretty good though.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2017-05-24 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?