$ perl temp.pl String found where operator expected at temp.pl line 13, near "d 'Timeout on read'" (Do you need to predeclare d?) syntax error at temp.pl line 13, near "d 'Timeout on read'" Missing right curly or square bracket at temp.pl line 16, at end of line syntax error at temp.pl line 16, at EOF Execution of temp.pl aborted due to compilation errors. #### $ perl -v This is perl, v5.8.7 built for i386-freebsd-64int (with 2 registered patches, see perl -V for more detail) Copyright 1987-2005, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.