perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angus Lees <...@inodes.org>
Subject Re: Read file problem
Date Wed, 30 Jul 2003 22:33:06 GMT
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 = <F>
> 
> On line 2 embperl return error "syntax error" . Why ? 

put a semi-colon at the end of each line.

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message