i'm sorry but i have lost a part of question:
example: the folder is c:\temp - the file is pippo.tif. I need to create a href ..... of all files in $dir
how can create ??? thank you claudia
my $dir = '/path'; # the directory to list
my $url = 'http://blah/path'; # the url for that directory
opendir DIR, $dir or dir $!;
my @links = map { qq(<a href="$url/$_">$_</a>) } readdir DIR;
use CGI qw(ul li);
print ul(li([@links]));