RE: Problem with relative path

2006-08-07 Thread Gerald Richter
Hi, > I have EmbPerl2.0r3, Apache2, mod_perl2 1.99 (Debian Sarge) > > /foo/index.epl: > [- > open F, "/foo/example_file.txt"; # <-- THIS WORKING > open F, "./example_file.txt"; # <-- THIS NOT WORKING, WHY ? > -] > For performance reasons, Embperl 2 does not change the current directory.

Problem with relative path

2006-08-07 Thread Marek Matis
Hi, I have EmbPerl2.0r3, Apache2, mod_perl2 1.99 (Debian Sarge) /foo/index.epl: [-   open F, "/foo/example_file.txt";   # <-- THIS WORKING   open F, "./example_file.txt";  # <-- THIS NOT WORKING, WHY ? -] Thanks Marek

RE: Delivering binary content from a Embperl application

2006-08-07 Thread Gerald Richter
> > Try putting the following before the write: > >tie *OUT, 'Embperl::Out'; >select(OUT); > This will redirect the Perl STDOUT to Embperl's output, but not the C one and I guess the output from ImageMagik is done by it's C code Gerald ** Virus checked by BB-5000 Mailfilter **

Re: Delivering binary content from a Embperl application

2006-08-07 Thread Torsten Luettgert
On Mon, 2006-08-07 at 11:20 +0200, Frank Wesemann wrote: > Torsten Luettgert schrieb: > > Don't know about Embperl object, but for me, it "just works". > > Here is some (reduced) code I use for delivering jpeg images: > > > Interesting enough this doesn't work ( it outputs nothing! ): > > > [- >

Re: Embperl and Ajax

2006-08-07 Thread Michael
abhishek jain wrote: On 8/3/06, *Michael* <[EMAIL PROTECTED] > wrote: Hi list, If somebody uses CGI::Ajax or some other framework in Embperl? Any examples will be appreciated. -- Best regards, Michael Stepanov www.stepanoff.org

RE: Bus error on Mac OS X 10.4

2006-08-07 Thread Gerald Richter
Hi, > > Hi all again. I figured I'd start a new thread since I seemed > to have stubled on to a new problem. It's pretty simple to > explain. I installed Embperl 2.2.0 on my Mac powerbook > (10.4). When I try to use Embperl in a script it generates a > bus error, like so: > > # perl -e "use

RE: Delivering binary content from a Embperl application

2006-08-07 Thread Gerald Richter
> > Torsten Luettgert schrieb: > > Don't know about Embperl object, but for me, it "just works". > > Here is some (reduced) code I use for delivering jpeg images: > > > Interesting enough this doesn't work ( it outputs nothing! ): > > > [- > ># some permission checking and obtaining $imgpath

Re: Delivering binary content from a Embperl application

2006-08-07 Thread Frank Wesemann
Torsten Luettgert schrieb: Don't know about Embperl object, but for me, it "just works". Here is some (reduced) code I use for delivering jpeg images: Interesting enough this doesn't work ( it outputs nothing! ): [- # some permission checking and obtaining $imgpath omitted if( -f $imgpa