Quite possibly have the wrong location of perl.
I would type:
cd /
whereis perl
you can manually check /usr/bin and /usr/sbin
Once you find perl you can simply update your shibang line.
Let me know if that helps.
Greg Martin
Verio TSG
[EMAIL PROTECTED]
----- Original Message -----
From: "McIntyre, Terry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 11, 2001 12:42 PM
Subject: readline fails on Sun machines?
> THe following code works on my AIX machines,
> but not on Solaris machines. All are running Perl 5.005_03.
>
> What's the story?
>
> Thanks!
>
> #!/usr/local/bin/perl -w
>
> print "account = " ;
> $account = readline STDIN ;
> chomp($account);
> print "account: $account\n";