perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erich L. Markert" <emark...@pace.edu>
Subject Re: Beginner's question
Date Wed, 14 Jun 2000 16:56:11 GMT
Yep, my mistake.

jbodnar@team-linux.com wrote:
> 
> $escmode has nothing to do with being able to use print() inside [- -]. In
> order to do that you have to turn on optRedirectStdout as part of your
> EMBPERL_OPTIONS in your conf file.
> 
> On 14-Jun-2000 Erich L. Markert wrote:
> > Try:
> >
> > [-
> > open(FILE,"</path/file") || die "Can't open file";
> > $escmode = 0; # needed for the subsequent print in "while"
> >             # otherwise Embperl will complain
> > while(<FILE>){
> >       print;
> > }
> > $escmode = 1;
> > close(FILE);
> > -]
> >
> > Ryszard Lach wrote:
> >>
> >> Hi!
> >>
> >> I've read docs about using embperl and HTML escaping, I tried to display
> >> e.g.
> >> forms data (it works fine),  but I still don't know, how to embedd such a
> >> simple
> >> code in html page:
> >>
> >> open(FILE,"</path/to/file");
> >> while(<FILE>) {
> >>         print;
> >> }
> >>
> >> Could anybody help me?
> >>
> >> T.I.A.
> >>
> >> --
> >> Ryszard £ach
> >> Internet Designers s.c.
> >> http://www.id.pl
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> >> For additional commands, e-mail: embperl-help@perl.apache.org
> >
> > --
> > __________________________________________________________
> > Mr. Erich L. Markert                     emarkert@pace.edu
> > Computer Learning Center               TEL (914)422-4328
> > Pace University
> > 1 Martine Ave
> > White Plains, New York 10606-1932
> >
> > Those who do not understand Unix are condemned to reinvent it, poorly.
> >                 -- Henry Spencer
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> 
> --
> Jason Bodnar + jbodnar@team-linux.com + Team Linux
> 
> Homer:  I keep hearing this horrible irregular thumping noise.
> 
> Pump Jockey:
>         It's your heart.  And I think it's on its last thump.
> 
> Homer:  Whew, I was afraid it was my transmission.
> 
>                    Homer's Triple Bypass

--
__________________________________________________________
Mr. Erich L. Markert                     emarkert@pace.edu
Computer Learning Center		 TEL (914)422-4328
Pace University
1 Martine Ave
White Plains, New York 10606-1932

Those who do not understand Unix are condemned to reinvent it, poorly.
                -- Henry Spencer

Mime
View raw message