Hi,

You have to escape the <F> or Embperl will think it is a html tag and
remove it from your source unless you have set that option to not clean
your code from html (don't remember exact one now, see man page).

Escape this way:
@lines = \<F>;

And, as Angus pointed, use semi-colons...

-- 
Luiz Fernando Ribeiro
Engenho Solu��es S/C Ltda

On Wed, 2003-07-30 at 05:53, Radovan Petr�k wrote:
> Hi, 
> 
> sorry for my begginer question , i have this code 
> 
> 1 open (F , 'my_file') or die 
> 2 @lines = <F>
> 
> On line 2 embperl return error "syntax error" . Why ? 
> 
> And when I need open new file " open (F , '> my_file') or die "  then 
> embperl dont open new file.
> 
> Thanks 
> 
> Rado.
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



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

Reply via email to