Re: Read file problem

2003-07-30 Thread Luiz Fernando
Hi, You have to escape the 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 = \; And, as Angus pointed, use semi-colons... -- Luiz Fernan

Re: Read file problem

2003-07-30 Thread Angus Lees
At 30 Jul 2003 10:53:20 +0200, Radovan Petrík wrote: > sorry for my begginer question , i have this code > > 1 open (F , 'my_file') or die > 2 @lines = > > On line 2 embperl return error "syntax error" . Why ? put a semi-colon at the end of each line. -- - Gus ---

Read file problem

2003-07-30 Thread Radovan Petrík
Hi, sorry for my begginer question , i have this code 1 open (F , 'my_file') or die 2 @lines = 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. -