Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 98892 invoked by uid 500); 30 Jul 2003 12:36:49 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 98876 invoked from network); 30 Jul 2003 12:36:49 -0000 Received: from ginsberg.uol.com.br (200.221.29.48) by daedalus.apache.org with SMTP; 30 Jul 2003 12:36:49 -0000 Received: from [200.232.150.80] ([200.232.150.80]) by ginsberg.uol.com.br (8.9.1/8.9.1) with ESMTP id JAA19037 for ; Wed, 30 Jul 2003 09:36:42 -0300 (BRT) Subject: Re: Read file problem From: Luiz Fernando To: Lista Embperl In-Reply-To: <1059555200.788.145.camel@caj> References: <1059555200.788.145.camel@caj> Content-Type: text/plain; charset=ISO-8859-1 Organization: Engenho Soluções S/C Ltda. Message-Id: <1059568919.2047.4.camel@minga.intranet.engenhosolucoes.com.br> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 30 Jul 2003 09:41:59 -0300 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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 = > > 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: embperl-unsubscribe@perl.apache.org > For additional commands, e-mail: embperl-help@perl.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org