Darren,

how about this :

code:
break on

$fn = "Access.log"

$fn = substr($fn,1,instr($fn,'.')-1)

$fn ?

get $

Ok, some more dots in filename can be fatal ...
_________________________