Hi guys! BIG THANKS to all of you for the fast and competent help! It's quite embarassing how easy it was fixed... sudo aptitude install libwww-perl did the job. Afterwards my script worked fine. Well, one never stops learning.
Wish u the best, greez tiMb