Jwkrahn, thanks very much for the comments and the links where to find the
information. It has been great to have some insight on how to reduce code and
to understand the logic behind it. It has also been useful to look at the
system command and see how it works with lists (so I now use lists in all the
system calls instead of scalars). I have spend some time getting the meaning
of ( 0 ) x $ulr_number. Good trick!
I have included your suggestions into the original message. Hope this is all right.
Very impressed with perl expressiveness: easy to start write code, tricky
to master it! For somebody like me without computer knowledge or experience is
very exciting! Very greateful!