Thanks Dwalu. Still didn't work. However, I removed use File::stat and everything works fine now.
Kind regards Dayo -----Original Message----- From: Dwalu Z. Khasu [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 8:08 PM To: Adedayo Adeyeye Cc: 'Charles K. Clarkson'; 'Perl Beginners - CGI List' Subject: RE: Backing Up Files to a Remote Server On Wed, 14 Dec 2005, Adedayo Adeyeye wrote: =>Thanks Charles. => =>The copy parts works great. However, I still can't get any information on =>the file. No values are being returned. I did the following: => =>use File::stat; => =>($dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, =>$ctime, $blksize, $blocks)=stat("Perfect.xls"); => =>print "$atime"; =>print "$mtime"; => =>Kind regards => =>Dayo => Dayo, Use the fully qualified path. Eg. "/home/dayo/test/Perfect.xls". The code above looks good, except that you don't seem to be using the 'strict' pragma or lexical variable declarations using 'my'. See also: perldoc strict perldoc -f my -- - Dwalu .peace -- I am an important person in this world - Now is the most important time in my life - My mistakes are my best teachers - So I will be fearless. - Student Creed -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>