Thank you very much! yesterday afternoon I finally found the little examples which came with Perl QT package and understood the need for a package. but still I had some little problems with creating the signal-slot connection and sharing some widgwets across the package. thank you again! Andy