Thomas Schmidt wrote: >How does it deal with the filenames then? (I am about to add a patch >to vdr which will forbit to overwrite files with the GRAB-Command, so >the current solution with a static filename will not work anymore.) > > It uses: use File::Temp qw(tempfile); ... sub grab_picture { .... my $file = (tempfile("vdr-XXXXX", SUFFIX => ".jpg"))[1]; .... Tobias