On Wed, Feb 28, 2001 at 06:08:43PM -, Jonny Cavell wrote:
> [-
> my @fields = qw(a b);
> print OUT "@fields";
> sub testingit{
> print OUT "@fields";
> }
> -]
>
> The first print gives the correct value ("a,b")
> The second print gives an incorrect answer occasionally - seemingly an old
Yep. That does it. Thanks.
-mp
ps. If the powers-that-be have a slightly less verbose way to stop
processing from within a child script, if you could let the list know, that
would be cool.
At 10:25 AM 2/28/01, Neil Gunton wrote:
> > My login testing occurs from within an .epl page that is
> My login testing occurs from within an .epl page that is invoked by Execute
> from within another .epl file.
>
> main.epl
> Execute( logintest.epl)
>
> Execute(sidenav.epl)
>
>
> When I call exit(), the logintest.epl exits but main.epl and the rest of
> it
As an additional comment:
I poked around in the source and exit appears to be using structures from
mod_perl, I'm unable to run under mod_perl due to memory constraints.
/* from mod_perl's perl_util.c */
struct ufuncs umg;
-mp
At 10:01 AM 2/28/01, Marcus R. Popetz wrote:
>I originall
The problem arises with subroutines using variables declared at the same
level as the sub, e.g:
[-
my @fields = qw(a b);
print OUT "@fields";
sub testingit{
print OUT "@fields";
}
-]
The first print gives the correct value ("a,b")
The second print gives an incorrect answer occasionall
I originally responded to Neil saying that I was having buffering IO
problems when trying this method but I must be working too much...because
that was wrong. I wasn't seeing any output from Embperl which led me to
believe that when I was exiting, the contents of http_headers_out were not
get
"Marcus R. Popetz" wrote:
>
> At 06:22 PM 2/27/01, you wrote:
> >What I do here is something like this:
> >
> > $http_headers_out{'Location'} = "/login/";
> > exit();
> >
> >HTH
>
> I was having problems with buffered IO in that case. Did you have to setup
> some option to make