๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #1370

Re: Conocer fecha de modificacion de un fichero en perl

#1370
From: AnimAlf
Date: Sun, 22 Jan 2006 07:12
22 lines
1721 bytes
El dg 22 de 01 del 2006 a les 03:29 +0000, en/na F va escriure:
> Necesito saber la fecha de modificacion de un fichero desde perl, 
> normalmente usaria  `date -`r fichero` pero necesito una solucion compatible 
> con windows y linux

> alguna idea?
> gracias

Con stat:
http://www.rocketaware.com/perl/perlfunc/stat.htm

-- 
AnimAlf AnimAlf@engendro.sytes.net 
http://www.fut.es/~acl/AnimAlf 
Personal Experimental WebServer: http://www.engendro.sytes.net 
LiNUX ReGiSteRED UseR #91326 
PublicPGPkeyID 0xB3B41215 
Is the truth out there? 

Coaliciรณn europea contra el correo comercial no solicitado: 
http://www.euro.cauce.org/es
Technical Details
Message-ID: <1137913751.665.1.camel@general.engendro.sytes.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!nsnmpen1-lo.nuria.telefonica-data.net!telenews.teleline.es!not-for-mail
References: <T_CAf.99628$kp.949329@telenews.teleline.es>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,9c28a97631ffceac
X-Google-Attributes: gidf86c8,public
X-Google-Language: ENGLISH,UTF8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!fu-berlin.de!nsnmpen1-lo.nuria.telefonica-data.net!telenews.teleline.es!not-for-mail
X-Trace-PostClient-IP: 80.32.76.249
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Conocer fecha de modificacion  de un fichero en perl
From: AnimAlf <AnimAlf@engendro.sytes.net>
In-Reply-To: <T_CAf.99628$kp.949329@telenews.teleline.es>
References: <T_CAf.99628$kp.949329@telenews.teleline.es>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Organization: Is the truth out there?
Message-ID: <1137913751.665.1.camel@general.engendro.sytes.net>
Mime-Version: 1.0
X-Mailer: Evolution 2.4.2.1 
Lines: 23
Date: Sun, 22 Jan 2006 07:12:59 GMT
NNTP-Posting-Host: 10.20.31.4
X-Complaints-To: usenet@teleline.es
X-Trace: telenews.teleline.es 1137913979 10.20.31.4 (Sun, 22 Jan 2006 08:12:59 MET)
NNTP-Posting-Date: Sun, 22 Jan 2006 08:12:59 MET