Perl under Sun Unix 2.* anyone?
Ray Lubinsky
rwl at uvacs.CS.VIRGINIA.EDU
Tue Mar 1 07:44:26 AEST 1988
Has anyone gotten Larry Wall's perl to work under Sun Unix 2.*? Under 3.2 it
works just fine, but when I compiled under 2.0 [yes, we're still running
Sun 2's :-( ] I get:
$ perl << EOF
printf "hello\n";
EOF
syntax error in file - at line 1, next token ","
Execution aborted due to compilation errors.
$
or
$ perl -p
syntax error in file - at line 0, next token "^O"
Execution aborted due to compilation errors.
$
which fails without even waiting to read input.
I suspect that there must be some liberty taken by yacc(1) in handling yyval
and/or yylval which is graciously handled under 4.3 BSD on my Vax and 3.2 on
my Sun 3, but is munged under 2.0.
Has anyone (Hello Larry?) run across this and has a patch that would work
until an official one might be posted?
--
| Ray Lubinsky Department of Computer Science, University of Virginia |
| UUCP: ...!uunet!virginia!uvacs!rwl |
| CSNET: rwl at cs.virginia.edu |
| BITNET: rwl8y at virginia |
More information about the Comp.sources.bugs
mailing list