Hi Bill,

Resposta a sua mensagem de quarta-feira, 12 de dezembro de 2001:

BO> Installed Embperl on Solaris 5.7 Apache 1.3.19 with File::Spec .8 (the
BO> latest File::Spec).

BO> I can seem to get a script to write a file but read never seems to
BO> happen.

BO>         open (OUTPUT, "+< /tmp/emb.txt") || die "write failed $!";
BO>         $line = <OUTPUT>;
BO>           return $line;

BO> The <OUTPUT> always seems to be at EOF or something but open always
BO> works.  The permissions are ok and the file is not empty and this works
BO> fine in perl. Other things I do with Embperl seem to work.

BO> Anybody know what gives?

Try setting local $escmode = 0; inside the [- -] that your code is
in...
Embperl has some trouble to differentiate <FILE> from
<html_tags>.


Best wishes,

Luiz Fernando B. Ribeiro
Engenho Solu��es para a Internet
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to