On Fri, Jul 11, 2003 at 09:29:28PM +0200, [EMAIL PROTECTED] wrote: > why cant i check the age of a file when the path contains a point?
You can. :-) > use File::Basename; > #$path="/home/raid/golchert/.cxoffice/dotwine/filelist.dat"; > $path="/tmp/someFile"; > print "\n alter von $path = ".(-M $path). "\n" > if (-M $path <=4 && !(dirname($path)=~/\./) && !(-d $path)); ^ But here you choose not to print if the directory name contains a dot. -- Steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]