>Embperl-2.2.0]$ perl Makefile.PL
>Build with support for Apache mod_perl?(y/n) [y]
>
>it would be nice if options were enabled to the Makefile so that options
>could be passed to it so that the interactive setup can be bypassed.
It is already possible, you can pass the path to the Apache sources
>
> [$ foreach $var qw(string chain thing) $] [= $var =] [$ endforeach $]
>
> will only appear as:
>
> $var
> $var
> $var
>
> Why is it so? Is there a way I can change this setting? I
> know I can call [+ $req_rec->gettext($var) +] instead, but it
> loses all the beauty ;-)
>
At the moment
Hi,
>
> I'm writing an app using the EMBPERL_OBJECT_APP style, where
> I have set EMBPERL_OBJECT_FALLBACK (so all the requests with
> no specific handler are received by a common handler. My
> question is: Is there a portable way of knowing which URL was
> specified? I know that under mod_perl
>
> That way, the moment I set a redirect by using this function,
> all processing finishes - Very useful, for example, when
> making access controls. And it works, too. However, calling
> 'exit 0' produces the following error in the log:
>
> [Thu Aug 10 01:08:22 2006] [error] [19700]ERR: 24:
>
> If there is a way, please point me to it :)
>
You can use Embperl_Top_Include in your httpd.conf to add a "use strict" to
every page
Gerald
** Virus checked by BB-5000 Mailfilter **
-
To unsubscribe, e-mail: [EMAIL
In my main Embperl module, I added this function:
sub redirect {
# Redirect the request to a new page - and stop processing before doing any
# further harm
my ($to);
$to = shift;
$http_headers_out{Location} = $to;
exit 0;
}
That way, the moment I set a redirect by using t
Yes, I know I am generating most of this month's threads, but
migrating to a new way of working always raises questions ;-) I looked
this up as well, but could only find a 2002 conversation [1] that left
me exactly where I was at the beginning.
I am a fan of writing Perl under the influence of the
While building an I18N-able site, I noticed Embperl's [= =] facility
seems to work only for literals, and does not work with data generated
by expression - this means:
[= string =]
will be properly translated to whatever message I defined for
'string', but
[$ foreach $var qw(string chain thing)
Hi,
I'm writing an app using the EMBPERL_OBJECT_APP style, where I have
set EMBPERL_OBJECT_FALLBACK (so all the requests with no specific
handler are received by a common handler. My question is: Is there a
portable way of knowing which URL was specified? I know that under
mod_perl I can get this
> >>
> >> I've run the commands you asked and have attached them in the file
> >> gdb.txt
> >>
> >
> > Sorry, I have missed one command, can you please before you
> type the
> > "BT"
> > type an "r". Otherwise the programm will never run...
> >
> > Gerald
> >
>
> Yeah, that didn't seem right to
Hi,
>From an Embperl perspective this doesn't makes a difference. So use what
better works for you. I agree that the first one is easier to read and has
less problems with withspaces.
Gerald
> -Original Message-
> From: Gunnar Wolf [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August
This is what finally worked for me:
binmode ( STDOUT );
my @blob = $image->ImageToBlob(); ( This means my $var =
$file->getData() in your terms )
print $blob[0];
exit;
I use it to manipulate Imagedata ( jpegs )
--
mit freundlichem Gruß
Frank Wesemann
Fotofinder GmbH US
Gerald Richter dijo [Mon, Aug 07, 2006 at 03:59:30PM +0200]:
> This might work with Apache 1.3 by chance, but it will not with Apache 2.0,
> because $image->write('-') writes to STDOUT which is never send to the
> client, at least not by default.
>
> The best would be to do something like
>
> $im
13 matches
Mail list logo