Re: Modifiaction time of file

2006-04-28 Thread Mr. Shawn H. Corey
On Fri, 2006-28-04 at 08:51 -0700, anu p wrote: > Hi, > > I have a requirement where I need to look at the age > of file, if it's older than 2 days, I should remove > it. > I am trying to use the '-M ' filehandle in my script, > it does not work. > > I get the following error > Use of uninit

Re: Modifiaction time of file

2006-04-28 Thread John W. Krahn
anu p wrote: > Hi, Hello, > I have a requirement where I need to look at the age > of file, if it's older than 2 days, I should remove > it. > I am trying to use the '-M ' filehandle in my script, > it does not work. > > I get the following error > Use of uninitialized value in numeric gt (

RE: Modifiaction time of file

2006-04-28 Thread Ryan Frantz
> -Original Message- > From: anu p [mailto:[EMAIL PROTECTED] > Sent: Friday, April 28, 2006 11:51 AM > To: beginners@perl.org > Subject: Modifiaction time of file > > Hi, > > I have a requirement where I need to look at the age > of file, if it's

Modifiaction time of file

2006-04-28 Thread anu p
Hi, I have a requirement where I need to look at the age of file, if it's older than 2 days, I should remove it. I am trying to use the '-M ' filehandle in my script, it does not work. I get the following error Use of uninitialized value in numeric gt (>) at ./temp_age.pl line 12. #!/usr/b