you can define the array and put all of file in  it and with
$counter=$#array+1;
then counter contain the number of file in directory and then
with $counter you can open the last file ..
you must put it in filehandler...
bye,

> Hello,
> 
> how can I find the latest file in a directory ?
> 
> thanks,
> Stefan
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to