Your script is trying to use a module that you don't have! If you look at the lib directory where Perl is installed, you should see a list of folders. One of these is 'Net' and the Telnet module should be located in there.