Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

list slice

by eXile (Priest)
on Jul 21, 2006 at 18:21 UTC ( #562911=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my @stat = stat($file);
    my @localtime = localtime($stat[9]);
    my $year = $localtime[5] + 1900;
  2. or download this
    my $year = localtime((stat($file))[9])[5] + 1900;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://562911]
Approved by bart
[LanX]: obscure facts: only naturally born monks can become president here!
[cbeckley]: I have a functioning module I use to spawn sets of commands across multiple servers.
[cbeckley]: It's nascent, and probably looks like baby Perl to the veterans.
[cbeckley]: I have several questions about it's future development. But it seems like a lot of code to put in a sopw.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2017-03-24 14:56 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (304 votes). Check out past polls.