You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Radovan Petrík <br...@lee.sk> on 2003/07/30 14:11:08 UTC

HTML-Embperl : Read file problem

Hi, 

sorry for my begginer question , i have this code in HTML-Embperl 

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.



Re: HTML-Embperl : Read file problem

Posted by Stas Bekman <st...@stason.org>.
Radovan Petrík wrote:
> Hi, 
> 
> sorry for my begginer question , i have this code in HTML-Embperl 

http://perl.apache.org/embperl/pod/doc/Embperl.-page-12-.htm

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com