Or, if you're running a sufficiently recent version of perl, you can use
open HANDLE, '>', \$somevar;
#call xSV here
close HANDLE;
$Response->Write($somevar);
Bascially, you open a handle to an in-memory variable to write to. This
saves having to use a temp file. I know 5.8.0 supports this. Not
g this to the Switch docs.
--Jim
> -----Original Message-
> From: Jim Helm [mailto:[EMAIL PROTECTED]]
>
> Seems there's something about eval that breaks Switch. I've
> emailed Damian to see if it's a known problem or if there's
> so
Seems there's something about eval that breaks Switch. I've emailed
Damian to see if it's a known problem or if there's something else going
on. I'll follow up if I find out more...
--Jim
-
To unsubscribe, e-mail: [EMAIL PRO
> -Original Message-
> From: Joshua Chamas [mailto:[EMAIL PROTECTED]]
> I wonder if this is some kind of mod_perl thing.
> What might happen if you tried to run the script
> from the command line using asp-perl? I do not know
Interestingly enough, it seems to be asp and not mod_perl, w
How about just making /lookup the page, instead of /lookup/index.asp.
You'll have to make sure /lookup is executed as an asp page ( ... ), but once you have that, you can just get the
rest from the pathinfo piece of the uri.
Or you could just rename /lookup/index.asp to /lookup.asp and call i
Great work!
I started to take that approach and decided to try a callback, or
passing a hashref that would get populated, instead of calling another
page. That would make the render function more adaptable to other
frameworks, instead of having to add in specific code for each one. I
have done
Actually, using asp includes for the templating sounds great... I
haven't looked at the code, but I wouldn't think it would be that hard
to add. It'd be great not to have to learn yet another pseudo-language
to accomplish this (Template::Toolkit or HTML::Toolkit) when Apache::ASP
is something I
hack upside the head. (doh!)
Jim
-Original Message-
From: Joshua Chamas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 6:08 PM
To: Jim Helm
Cc: [EMAIL PROTECTED]
Subject: Re: OT: (slightly) RAD RDBMS tools for perl/Apache::ASP
Jim Helm wrote:
>
> This isn't specif
This isn't specific to Apache:ASP, but I've seen a lot of good advice
here, and hopefully someone has already been through this.
I was just wondering if anyone had used/knows of anything for perl
similar to phpLens. I haven't actually used it, but it looks pretty
impressive. I'd prefer to stic
eply to all, so the rest of the list can
particpate too.
-- Jim
-Original Message-
From: Cameron Clark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:32 PM
To: Jim Helm
Subject: RE: Installing from scratch Apache + mod_perl + Apache::ASP
(+maybe others) on unix
Ok, I spec
When you copied the contents, did you get the .* files as well? If you
didn't, that's most likely your problem... The examples need the
.htaccess file (and maybe others) to function correctly.
--Jim
-Original Message-
From: Cameron Clark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, Febru
11 matches
Mail list logo