newbie

2002-07-23 Thread Kevin Drew
I am not sure if I am emailing to the correct list, but I have been struggling with this for about 3 days and wondered if anyone could help me.   I have been put in charge of trying to get the file upload command to work with out Apache server on OSX.  I have found this page.   http://perl.

Re: Deep Recursion

2002-07-23 Thread Nate Smith
Ok, for anyone following this thread, I got the recursive function to work, I will paste the source here. I could not declare it as an embperl sub, I had to declare it as a normal perl sub within an embperl block in the same file as I am using it. I tried about every other iteration without suc

Re: using a diffrent EMBPERL_OBJECT_BASE

2002-07-23 Thread Abdallah Deeb
Thank you for the help, my next question lies in the same area, I feel it's a misconfiguration issue and I hope it won't bother people on this list if it's outside the scope. I am loading Embperl from a startup script (Apache2/mod_perl2) ---in httpd.conf PerlRequire /path/startup.pl EMBPERL_OP

Re: newbie

2002-07-23 Thread Gavin Carr
Hi Kevin, There are multiple ways of doing this, depending on what framework you're planning to use. For instance, the CGI module, mod_perl, and embperl (HTML::Embperl - this mailing list) all allow you to do file uploads pretty easily - your snippet is for a mod_perl solution (in perl). If you'

Re: Execute

2002-07-23 Thread Gavin Carr
On Mon, Jul 22, 2002 at 05:54:16PM -0400, Justin M. Harrison wrote: > Is there any consolidated documentation on what exactly Execute can do, > and how files can be brought in or executed? Everything I have found > about it seems to be scattered about Embperl, Embperl::Object, etc, in > both docum

RE: Execute

2002-07-23 Thread Justin Harrison
Thanks for your response. I am trying this in embperl 2 b8. In the main embperl file: [- $r = shift -] [- $r->{content} = Execute ({'object' => '/home/zo/zo/lib/zoweb/content/content.pm'}) -] [- Execute ('/home/zo/zo/web/template.epl') -] In template.epl: [- $r = shift -] [+ $r->{content}

RE: Execute

2002-07-23 Thread Justin Harrison
It seems to work in some fashion with Embperl Meta Subs.. Is it by design that it seems not to function with perl subs? Am I doing something wrong? :-( Is there anyway to make it function with perl subs? > -Original Message- > From: Justin Harrison [mailto:[EMAIL PROTECTED]] > Sent: Tue

Re: Execute

2002-07-23 Thread Gavin Carr
On Tue, Jul 23, 2002 at 11:02:07PM -0400, Justin Harrison wrote: > It seems to work in some fashion with Embperl Meta Subs.. > > Is it by design that it seems not to function with perl subs? Am I doing > something wrong? :-( Is there anyway to make it function with perl subs? The easy perl sub w