The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



Thread: PERL Error
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 04-24-2008
googling2000 googling2000 is offline
Registered User
 

Join Date: Apr 2008
Posts: 4
Hi there, I've been using perl for a number of years and haven't come across the use of echo, is it a sub in your script?

Anyway, when I did a
perl -c yourscript.pl
I got a bunch of errors around the echo statements.

As a quick test, if you just do this, in bold below, and try again.

#!/usr/bin/perl -w
clear();
=comment
echo "***************************************\n";
echo "***** A Telnet Script ***** \n";
echo "***************************************\n\n";
echo "TELNET Tunnels in progress, Hold on. \n";
=cut
use Net::Telnet;
Reply With Quote