in reply to vboxmanage.exe Problem with Perl
Out of curiosity, what are you using as the telnet host on your Windows system?
My guess is along the lines of what someone else suggested: the environment that you are connecting to via telnet probably doesn't have something setup correctly.
Since you have a script that is working locally, you can probably use something like psexec to remotely run your script remotely from another Windows system.
If you are wanting a more Perl type solution and/or the ability to execute your script remotely from other platforms, you could use a Perl module to create your own Telnet server that can accept remote connections and commands. As long as the Telnet server script is started with the correct credentials and environment, you should be good to go. At work, I setup a simple little "Telnet server" using IO::Socket::INET::Daemon that allowed me to remotely connect to a Windows system and get information from a USB connected device to that system. The concepts of what I did there should work in your situation too.