Thanks a lot to all those who answered: problem solved!
This is one nice thing about Perl: a large community of skilled experts who is willing to help in specific problems.
I have seen that there is a voting system in this web site, but I don't know it: do I have to vote in order to say thank?