RE: Emacs Mode or IDE for Embperl

2012-09-23 Thread Andrew O'Brien
Hi Benni, > From: Benni Bärmann [mailto:be...@obda.de] > Sent: Monday, 24 September 2012 6:36 AM > Hi! > > I am in search for an embperl emacs mode or another IDE which supports > the perl/html/embperl-mix in embperl-Scripts. At > > http://perl.apache.org/embperl/en/db/sites/editors.-category_i

RE: Status of Embperl?

2012-09-07 Thread Andrew O'Brien
Hi all, [apologies for the html format - I'm sending from a work webmail client] > - Embperl is deleted from Debian testing (Wheezy, 7.0) and Ubuntu 12.04. > Is there any hope that it will get back in Wheezy? I saw some discussion > here about this issue, but could not figure out, if there is any

RE: Execute({ object => '...' })

2010-07-26 Thread Andrew O'Brien
> From: Thompson, John [mailto:jth...@midwestern.edu] > Sent: Tuesday, 27 July 2010 2:47 AM Hi John, > I am attempting to use the Execute({ object => '...' }) > feature but am seeing strange results. Here are my two files: Firstly, test.epl does not do what you think it does. It should read:

RE: @param seems to be shared between Execute calls

2010-07-25 Thread Andrew O'Brien
Hi Michael, > Thanks for the email. I'm actually using @param to return > data (as well as the HTML) to the epl script which is calling > another one via Execute. Perhaps there's a better way. I think you may just be missing one piece of the puzzle: using references with the param argument t

RE: Execute( sub =>...) and (object => ...)

2010-06-22 Thread Andrew O'Brien
Hi John, > -Original Message- > From: Thompson, John [mailto:jth...@midwestern.edu] > Sent: Wednesday, 23 June 2010 5:31 AM > Ok so I figured out that the Execute( param => ... ) still > goes into @param not @_. Any idea why the ( object => > $template ) isn't working? I use the foll

RE: Help: Migrating from embperl 1.3 to Embperl 2

2010-04-29 Thread Andrew O'Brien
Hi Mario, > How can do a perl regular expresion for search and replace blocks like > > [+ command1 ; command2; command3 +] > with > >[+ do { command1 ; command2; command3 } +] > > We try with some like this : > > cat file.epl |perl -na -e'if ($_ =~ m/\[\+( *.+? *)\+\]/g ){ pri

RE: 9999: Error (no description) Unstructured forward jump

2009-10-12 Thread Andrew O'Brien
George, To save searching through the docs, here's how to turn off embperl's form/table/html parsing and just process the various types of code blocks. [$ syntax EmbperlBlocks $][# turn off special HTML processing #] Do funky table stuff here [$ syntax Embperl $][# back to normal #] Cheers,

RE: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-20 Thread Andrew O'Brien
> Richter, Gerald wrote: > > The best would be, if we had a packages maintainers for the main > > distrubtions (like Debian, SUSE, RedHat etc.) which knows > about their > > distribution (because I do not know all the specifica of all these > > distributions) > > Wasn't Angus Lees doing that

RE: Sort Keys of Hash Printed via dump

2009-09-02 Thread Andrew O'Brien
> -Original Message- > From: Thompson, John [mailto:jth...@midwestern.edu] > Sent: Thursday, 3 September 2009 6:07 AM > > Is there any variable that I can set that would tell dump to > sort the keys of a hash alphabetically (Like Data::Dumper)? Not as far as I can see from the docs. B

RE: Execute() and App objects

2009-04-02 Thread Andrew O'Brien
Hi Doug, > From within one request, I'm trying to Execute() an HTML > template from > another part of the application. That template is dependent > on App object > methods defined in the _app.pl that is in the same directory > as the HTML > template. However, the Execute() seems to use th

RE: Embperl Abandoned: Next Steps?

2008-10-21 Thread Andrew O'Brien
Hi Kee, > I actually have a library that integrates Embperl into Catalyst so > that you ca use it instead of the default system (Template > Toolkit). > Embperl is faster and uses less memory than TT. I have the module > working in a production site, and while it needs documentation and

RE: Roll call: What cool, high-traffic websites are using Embperl?

2008-08-06 Thread Andrew O'Brien
Hi all, > I've been using Embperl since 2000 to run > www.crazyguyonabike.com. This > started off as a single journal of my bicycle tour across America in > 1998. I wrote it using Embperl, and developed it so other > people could > also put their journals up. Over the years I've added forums

RE: Error line numbers do not seem to map correctly to source code

2008-08-06 Thread Andrew O'Brien
Hi Neil, > I am seeing errors in my apache logs which appear to be > within Embperl > code, and yet the error line numbers do not match up with > what is in the > code. For example, I might see > > Can't call method "prepare" on an undefined value at line 182 > in Docs.epl > > But at line

RE: Question re preloading embperl and apache shutdown

2008-07-24 Thread Andrew O'Brien
Hi Ed, > > Are any of the following useful to you (even if you set a variable > > using the shutdown callback to forcibly stop the preload?) in > > Apache2::ServerUtil? > > > ># register server shutdown callback > >Apache2::ServerUtil::server_shutdown_register_cleanup(sub { > > Apache2::C

RE: Question re preloading embperl and apache shutdown

2008-07-23 Thread Andrew O'Brien
Hi Neil, > I am now using Apache2.2, mod_perl 2 and Embperl 2.3. I am also > preloading my Embperl code via startup.pl, and finding that > "apachectl > stop" seems to call my preload routine even when shutting > down apache, > which makes it take an absurdly long time to cycle the server whe

RE: Problem using Embperl on Debian Lenny

2008-07-15 Thread Andrew O'Brien
Hi Neil, > There definitely seems to be some kind of problem with the current > binary Embperl package included with Lenny. All I did was > build Embperl > from the Debian source (using the standard build procedure, > rather than > the "debian way") and everything "just worked". No changes t

RE: Problem using Embperl on Debian Lenny

2008-07-15 Thread Andrew O'Brien
Hi Ed, > As I understand it, Debian's freezes, like most software freezes I'm > aware of, are 'except for bug fix' freezes. If that is correct, then > the period right before the freeze is actually the *least* stable, not > the most stable. While I've never had any issues at any point in the re

RE: Problem using Embperl on Debian Lenny

2008-07-14 Thread Andrew O'Brien
Hi Neil, We use debian lenny and for a while we were running locally compiled versions of 2.2.0 with this patch applied: http://www2.ecos.de/~mailarc/embperl/2007-07/msg00016.html. I can't recall any problems with the package rebuild process. It was basically: a) apt-get source libembperl-perl b

RE: Preventing selected being added to option tags

2008-01-22 Thread Andrew O'Brien
Hi Frank, > set Embperl_Syntax to "EmbperlBlocks" to prevent Embperl from > processing HTML-Tags > http://www.ecos.de/embperl/pod/doc/Config.-page-2-.htm#sect_62 Thanks for that - I was under the impression that this was file-wide rather than something that could be selectively applied in blo

RE: Preventing selected being added to option tags

2008-01-21 Thread Andrew O'Brien
Hi Michael, > Can someone please clarify how I prevent 'selected' being > automatically added to selects? Here's my embperl file: > What happens is that once you submit the form, 'selected' gets > automatically added to the relevant option tag. > > How can I prevent this, and set it (or not se

RE: EMBPERL_SESSION_HANDLER_CLASS = no

2007-12-02 Thread Andrew O'Brien
Hi Jon, > I've read up on this a bit, and it seems that I should be > able to do this: > > $ENV{'EMBPERL_SESSION_HANDLER_CLASS'} = 'no'; > > In my CGI or at least set the environment variable for apache > and put this is my httpd.conf > > PassEnv EMBPERL_SESSION_HANDLER_CLASS > > Neither of

RE: 30 second timeout

2007-11-26 Thread Andrew O'Brien
Hi Matthew, > I've got an .epl script that is failing to run past 30 > seconds. Here's a very simple example: [snip] > When I hit that it times out at 30 seconds. I've tried with > the browser and wget (which has a 900 second default timeout > according to the man page). I think this is ha

RE: Problem with Apache 2.2.6

2007-09-16 Thread Andrew O'Brien
> On Mon, Sep 17, 2007 at 09:20:26AM +1000, Andrew O'Brien wrote: > > What is the latest combination of apache/embperl that is > supported by > > your distro? > > Apache 2.2.6 *is* the current supported version of Apache on my distro > (GenToo). That's why

RE: Problem with Apache 2.2.6

2007-09-16 Thread Andrew O'Brien
Hi Kathryn, > Well, I have now done the *opposite* of what you suggested, > and that is > to downgrade to Apache 2.0.59 and apr 0.9.12, and that seems to have > done the trick, though it's obviously only a temporary solution. So this was the original configuration? I'm curious - what features

Script to help convert HTML::Embperl 1.3.x websites to Embperl 2.2

2007-07-16 Thread Andrew O'Brien
n once Eg: convert_embperl_files.pl -d /var/www/mysite -m '*.epl' \ -m '*.html' -e /var/www/mysite/not_embperl -v -v -- Andrew O'Brien convert_embperl_files.pl Description: convert_embperl_files.pl -

Patch to 2.2.0 Embperl.pm to fix cookie header handling under mod_perl 2

2007-07-16 Thread Andrew O'Brien
_in->{'Cookie'}:undef) ; if ((defined ($cookie_val) && ($cookie_val =~ /$cookie_name=(.*?)(\;|\s|$)/)) || ($ENV{QUERY_STRING} =~ /$cookie_name=.*?:(.*?)(\;|\s|&|$)/) || $ENV{EMBPERL_UID} ) { -- Andrew O'Brien

RE: Problems with EMBPERL_OBJECT_HANDLER_CLASS on stock debian etch Embperl 2.2.0 / Apache 2.2.3

2007-07-10 Thread Andrew O'Brien
Sorry for wasting everyone's time. There are some days you just shouldn't get out of bed ... There was no PerlModule Oriel::Embperl2Req In my apache config. I don't know why I assumed EmbperlObject would do that for me! So the following now works: Content of the handler class =

Problems with EMBPERL_OBJECT_HANDLER_CLASS on stock debian etch Embperl 2.2.0 / Apache 2.2.3

2007-07-10 Thread Andrew O'Brien
ERRORS_TO "[EMAIL PROTECTED]" Options +ExecCGI AllowOverride None -- Andrew O'Brien embperl2.log.gz Description: embperl2.log.gz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: equivalent of [$ hidden $] for links?

2007-06-06 Thread Andrew O'Brien
Hi Michael, > [$ hidden $] is very handy for making sure form variables get passed > from one page to another, but is there anything similar for links? > > That is to say, if the url is > > page.epl?param1=x¶m2=y > > and I have a link on a page in which I also want to include param1 and > para

RE: Hashes in %udat

2006-04-19 Thread Andrew O'Brien
> -Original Message- > From: Frank Wesemann [mailto:[EMAIL PROTECTED] > Sent: Thursday, 20 April 2006 8:03 AM > Subject: Hashes in %udat [snip] > Repeatedly changing the values is reflected in the respective > pages but > they never see the values from the other page. > > I found a work

RE: Catalyst::View::Embperl ???

2006-02-06 Thread Andrew O'Brien
Matt, perhaps you could post your one as an example (or link to it somewhere). I know a lot has likely changed but that may help someone get a better idea how to develop one for the current release. -- Andrew O'Brien > -Original Message- > From: Matt J Cwanek [mailto:[EMAI

RE: Embperl::Object with session management?

2006-01-16 Thread Andrew O'Brien
Your apache config was cut off but I would first think that you're missing the following (1.3 syntax, change as necessary for 2.x): PerlSetEnv EMBPERL_COOKIE_PATH / -- Andrew O'Brien > -Original Message- > From: Dan Lenski [mailto:[EMAIL PROTECTED] > Sent: Tuesday

RE: EMBPERL_OPTIONS

2005-06-23 Thread Andrew O'Brien
> From: Daniel [mailto:[EMAIL PROTECTED] > Sent: Friday, 24 June 2005 10:35 AM > > > I am a bit awed that you would go through all the effort of > pointing to > > two identical instances of the same opaque reference so as > to put down ? > > the original poster ? but don't bother to answer the

RE: EMBPERL_OPTIONS

2005-06-23 Thread Andrew O'Brien
> -Original Message- > From: Daniel [mailto:[EMAIL PROTECTED] > Sent: Friday, 24 June 2005 5:03 AM > Subject: EMBPERL_OPTIONS > > Re: http://www2.ecos.de/~mailarc/embperl/2005-03/msg00041.html > > "Looks like you are using Embperl 1.3. In this case you have set set > optRawInput in EMBP

RE: Execute question

2005-04-20 Thread Andrew O'Brien
s.epl: [- $req = shift; $test = shift @param; if ($something_went_wrong) { $$test = 1; exit; } -] -- Andrew O'Brien Development Manager e: [EMAIL PROTECTED]p: +61 2 9461 0114 w: www.oriel.com.auf: +61 2 9431 6700 > -Original Message- > From: allen hai

RE: saving snapshot of the page

2005-04-03 Thread Andrew O'Brien
CTED] }); # save to DB -] [- local $escmode=0; print OUT $content; -] -- Andrew O'Brien > -Original Message- > From: Ben Kim [mailto:[EMAIL PROTECTED] > Sent: Saturday, 2 April 2005 6:27 AM > To: embperl@perl.apache.org > Subject: saving snapshot of t

RE: $escmode in libraries

2005-03-17 Thread Andrew O'Brien
> From: Luiz Fernando B. Ribeiro [mailto:[EMAIL PROTECTED] > > On Wed, 16 Mar 2005 20:58:37 -0800, Daniel > <[EMAIL PROTECTED]> wrote: > > > Is this what you use? I'm a little curious what others do > to easily see > > what variables contain. Maybe there's a good way I'm missing. > > > In fa

RE: %udat and frames

2005-02-15 Thread Andrew O'Brien
allel) which means that you're not going to get consistent data on the initial load. I'd really suggest passing through these arguments directly. Ie You can then use $fdat{a} etc in the subpages directly. -- Andrew O'Brien > -Original Message- > From:

RE: Embperl::Object and query string

2005-01-11 Thread Andrew O'Brien
%fdat is a global for the life of that request, regardless of which file is currently executing. -- Andrew O'Brien > -Original Message- > From: Michael Stepanov [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 12 January 2005 6:50 PM > To: embperl@perl.apache.org &

RE: What happens when (slow) loading pages are stopped by the browser

2004-10-28 Thread Andrew O'Brien
Two words: database transactions. That said, I've found that apache usually finishes processing the request but you're better off not assuming this and dealing with transactional failure properly in your application. -- Andrew O'Brien Development Manager e: [EMAIL PROTECTED]

RE: Apache virtulahosts sharing modules

2004-07-20 Thread Andrew O'Brien
> From: John P. Gibbons [mailto:[EMAIL PROTECTED] > Subject: Re: Apache virtulahosts sharing modules > > Andrew O'Brien wrote: > > >Your best bet is to have site-specific information set up at > the embperl > >request level. Ie have constants/whatever initi

RE: Apache virtulahosts sharing modules

2004-07-20 Thread Andrew O'Brien
> From: Steve Wilder [mailto:[EMAIL PROTECTED] > Subject: Apache virtulahosts sharing modules > > > Hello, all. > > I'm using Apache 1.3.29 and Embperl 1.3.6 > > I've got two Apache Virtualhosts: www.benwilder, and > rhyme.benwilder.com > > Both sites have a "test1.phtml" which looks l

RE: Is there a point in using the request object for db connectionswhenusing Apache::DBI?

2004-07-14 Thread Andrew O'Brien
> From: John Gibbons [mailto:[EMAIL PROTECTED] > Subject: Re: Is there a point in using the request object for > db connectionswhenusing Apache::DBI? > > >Most of the modules that I write for such applications inherit from a > >common base database class (think home grown Class::DBI) and have >

RE: Is there a point in using the request object for db connections whenusing Apache::DBI?

2004-07-14 Thread Andrew O'Brien
> > From: John P. Gibbons [mailto:[EMAIL PROTECTED] > > Subject: Is there a point in using the request object for db > > connections when using Apache::DBI? > > Hi John, > > (note - I use HTML::Embperl extensively and exclusively so my ideas > may be slanted somewhat) That should read HTML::

RE: Is there a point in using the request object for db connections whenusing Apache::DBI?

2004-07-13 Thread Andrew O'Brien
> From: John P. Gibbons [mailto:[EMAIL PROTECTED] > Subject: Is there a point in using the request object for db > connections when using Apache::DBI? Hi John, (note - I use HTML::Embperl extensively and exclusively so my ideas may be slanted somewhat) > I was reading this article: > http:/

RE: changing location of embperl.log

2004-05-30 Thread Andrew O'Brien
> -Original Message- > From: Michael Boudreau [mailto:[EMAIL PROTECTED] > Subject: changing location of embperl.log > > I'm trying to change the location of the Embperl log and not > having any > luck. > > I'm using Embperl 1.3.6 and Apache 1.3.29 on Solaris 8. > > I have added 'PerlS

RE: embedded HTML tags

2004-04-29 Thread Andrew O'Brien
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, 30 April 2004 4:36 AM > > Hello, > I have a module which gets some data from a file and displays > that data. The problem is the data in the file contains some > embedded HTML tags such as and others. When I get > and display

RE: Upload file

2003-10-08 Thread Andrew O'Brien
Firstly Rado, there is a typo in your "open" line: a missing closing ". The only other thing I would suggest is using BINMODE. See below for an example routine. > In EplSite WorkFlow i am using this routine and works fine: > > use CGI; > $query = new CGI; > > if( $file = $query->par

RE: sharing data across SSI's (Executes)

2003-09-04 Thread Andrew O'Brien
y not contain cached values and that you properly expire/update the cache when appropriate. Code that was written for once-offs may need to be slightly rewritten to take persistence into account. -- Andrew O'Brien > -Original Message- > From: Chris Allen [mailto:[EMAIL PROTECTED]

RE: sharing data across SSI's (Executes)

2003-09-02 Thread Andrew O'Brien
ass via the Execute function. Eg Execute('form.inc', $value1, $value2) or Execute({ inputfile=>'form.inc', param=>[$value1,$value2]}); Form.inc: [- $req = shift; ($value1,$value2) = @param; # or $value1 = shift @param; $value2 = shift @param; -] Hope that makes it

RE: Nested Bug in 2.0b9

2003-08-07 Thread Andrew O'Brien
Apologies in advance for breaking the thread. All CPAN developers (and the public) have access to the CPAN Request Tracker system: http://rt.cpan.org/. I'd suggest this as a central location that is already used successfully for many other perl projects. -- Andrew O'Brien e: [EMAIL

RE: EMBPERL_SESSION_HANDLER_CLASS to 'no' in embperl 2.0b9

2003-07-11 Thread Andrew O'Brien
If you read the IIS setup guide I posted to the list a while back, setting variables in a BEGIN block in the epocgi.pl file works just fine. I've had to run embperl on IIS occasionally and I've had no problems. -- Andrew O'Brien e: [EMAIL PROTECTED] p: +61 2 9556 0100 f:

RE: IMAGES Directories

2003-03-13 Thread Andrew O'Brien
he httpd.conf to start with. Don't know whether that helped or not :) Maybe if you described exactly how embperl is "choking" on the image files? -- Andrew O'Brien e: [EMAIL PROTECTED] p: +61 2 9556 0100 f: +61 2 9556 0111 -

Re: embperl on cygwin

2002-12-04 Thread Andrew O'Brien
I could see for needing to compile them yourself) then all I can say is good luck and let everyone know how you go :) -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89

Re: Vim Syntax ?

2002-10-15 Thread Andrew O'Brien
inters. Gerald: The emacs mmm-mode links should really be updated to point to http://mmm-mode.sourceforge.net/ -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89

Re: Generating images on-the-fly (newbie question) / embperl object

2002-10-09 Thread Andrew O'Brien
gt; > > base.html: > > > [- Execute ('*') -] > Your image data will be surrounded in tags here. > somepage.html: > > [- > $req = shift; > $dbh = $req->{dbh}; $escmode=0; > $http_headers_out{'Content-Type'} = "image/gif"; >

Re: Generating images on-the-fly (newbie question)

2002-10-09 Thread Andrew O'Brien
pace in this file as this will get sent to the browser, ie the first and last characters are [ and ]. -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89 09

Re: Execute XML Query

2002-10-01 Thread Andrew O'Brien
LWP and do your own request during the normal course of your pages execution. If this isn't required to be perfectly dynamic then scheduling an offline run every X minutes to put the output somewhere in your web tree to be included in your page would perhaps be of less load. -- Andrew

Re: [ -Execute ( ' * ' ) -] Doesn't Work!

2002-09-30 Thread Andrew O'Brien
t; whenever I add new boilerplate files I have to go into each subdirectory and > add the symlinks. If you want common base files for a lot of things then have a look at EMBPERL_OBJECT_ADDPATH I usually have this directory within the document tree but I don't think thats necessary (o

Re: problem using Apache::Session

2002-08-28 Thread Andrew O'Brien
should ask you for configuration information during the make sequence (read the docs beforehand so you know what to expect and what answers go with what) -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133

Re: IIS Setup Problem (Perl)

2002-06-24 Thread Andrew O'Brien
ion (for support personnel) > > > Background: > You have attempted to execute a CGI, ISAPI, or other executable program from > a directory that does not allow programs to be executed. > > > More information: > Microsoft Support > > *********

Re: Sending zip file to browser

2002-05-20 Thread Andrew O'Brien
- > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PRO

Re: Talking about Embperl at the O'Reilly OpenSource Convetion 2002

2002-05-02 Thread Andrew O'Brien
money using embperl? It's only fair to contribute back when there's a need! Gerald - looks like you need to set up that paypal account and give us a target :) -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phon

Re: passing javascript variable to embperl

2002-04-02 Thread Andrew O'Brien
in the first place before the page gets sent to the browser. -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89 092 286 327fax:

Re: Objects within an Embperl page

2002-03-25 Thread Andrew O'Brien
On Mon, Mar 25, 2002 at 11:51:32PM +, Earwig wrote: > On Tue, 26 Mar 2002, Andrew O'Brien wrote: [snip] > I'm not mounting. Filesys::SmbClient appears to make a fresh SMB > connection each time one of its methods (open, opendir, unlink, mkdir, > etc) is called. Run

Re: Objects within an Embperl page

2002-03-25 Thread Andrew O'Brien
to get at SMB info in Perl > without going to all the trouble of mounting the share... Depends on what sort of info you need. If you're talking about browsing files/directories then I would assume you need it to be mounted. -- Andrew O'Brien Senior Engineer email: [E

Embperl CGI and IIS howto 1.1

2002-03-24 Thread Andrew O'Brien
Attached. Updated to reflect the ppm packages kindly provided by Randy Kobes. -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89 092 286 327fax: +61 2 9299 1134

Embperl CGI and IIS howto

2002-03-19 Thread Andrew O'Brien
home and this might be the simplest solution if they're forced to run embperl under IIS. Cheers -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133 ABN 89 092 286 327fa

Re: IIS setup question (URGENT)

2002-03-19 Thread Andrew O'Brien
On Tue, Mar 19, 2002 at 08:14:36PM +1100, Andrew O'Brien wrote: > Help! :) Isn't that always the way? Got it working 5 minutes after I sent this email. The problem was that I had associated .epl files with "c:\inetpub\scripts\embpcgi.pl". It should have been: "c:\

IIS setup question (URGENT)

2002-03-19 Thread Andrew O'Brien
mation Services blah blah blah .. ie I haven't set some sort of execute permission somewhere. Looking at the properties of that folder in the Management Console, Execute Permissions are set to "Scripts and Executables". Help! -- Andrew O'Brien Senior Engineer

Re: Auto-loading an embperl file?

2002-03-13 Thread Andrew O'Brien
anging things - I haven't hit a situation that wasn't solved either with the above or a base file that stuck an epl-executed-to-object thingy in $req. But I may have been lucky :) Not knowing exectly what you're trying to do, you may want to have a look at EMBPERL_IN

Re: [OT] How to preserve carriage returns in text area inputs?

2002-02-22 Thread Andrew O'Brien
On Sat, Feb 23, 2002 at 03:07:15PM +1100, Andrew O'Brien wrote: > On Fri, Feb 22, 2002 at 06:37:33PM -0800, Scott Chapman wrote: > > I'm finding that my form data is not preserving carriage returns. When a user > > has a text area to fill in that is multiple lines,

Re: [OT] How to preserve carriage returns in text area inputs?

2002-02-22 Thread Andrew O'Brien
saving the output somewhere and so having a maximum column width is useful. -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 11

Re: udat and cookies and expiration

2002-02-22 Thread Andrew O'Brien
t the same time then data in %udat should be persistent. That's what sessions are for, after all :) -- Andrew O'Brien Senior Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limite

Re: really basic mod_perl usage

2002-01-31 Thread Andrew O'Brien
.html: $req = shift; # call the do_stuff() function in lib.epl $req->{libobj}->do_stuff( @my_args ); 3) You're not limited to just one. Have as many as you like. A veritable object party! Hope this helps. -- Andrew O'Brien

Re: Modular web sites - is this possible? (was Re: Modular web site not behaving as expected.)

2001-11-15 Thread Andrew O'Brien
; > etc.) with breaks in actual execution. In other words, he wants to > > think of program execution in terms of a linear user session (as you > > would with a GUI app) rather than a series of separate requests. -- Andrew O'Brien

Re: Modular web site not behaving as expected.

2001-11-11 Thread Andrew O'Brien
between > to take care of the looping. If I could implement it as all one page, > I'd do so but it doesn't look like that is possible. There doesn't > appear to be a "stop" function that prevents the calling page from > being returned to immediately. A

Re: Perl*Handlers and Embperl Sessions

2001-10-29 Thread Andrew O'Brien
erl API - "perldoc Apache" will give you the documentation specific to your installed version of Apache.pm The other one to look at is the function is_initial_req() which is slightly different. I use is_main() because I still want to do authentication on internal

Re: EMBPERL_MAIL_ERRORS_TO sends multiple emails?

2001-10-17 Thread Andrew O'Brien
er the next few days to stick some debugging print statements in Embperl myself. If I don't turn up anything really useful then I'll send a copy of an embperl log for a request and my apache config. About the only thing I can think of that might make a difference is that I'm using

Re: EMBPERL_MAIL_ERRORS_TO sends multiple emails?

2001-10-14 Thread Andrew O'Brien
On Fri, Oct 12, 2001 at 07:17:10PM +1000, Andrew O'Brien wrote: > getting it ready to go live and played with EMBPERL_MAIL_ERRORS_TO > Everything now works great, except that I'm getting 3 copies of > every error email. Has anyone else experienced this? The emails

EMBPERL_MAIL_ERRORS_TO sends multiple emails?

2001-10-12 Thread Andrew O'Brien
t to open slather PerlAccessHandler Apache::AuthSwitchCookie -- Andrew O'Brien Product Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited

Re: Calling a cgi on other web server.

2001-09-27 Thread Andrew O'Brien
rst example which does a fairly simple request with POST data. HTH -- Andrew O'Brien Product Engineer email: [EMAIL PROTECTED] Switch Online Group Pty Limited phone: +61 2 9299 1133

PerlAccessHandler and HTML::Embperl

2001-06-28 Thread Andrew O'Brien
LockSemaphore::acquire_write_lock line 100 which # means that we must call this function even if we are proceeding on # to Execute function ... (not as noted in perldoc HTML::Embperl?) HTML::Embperl::Req::CleanupSession; ... return OK; } Cheers, -- Andrew

Re: Is it possible to use "print OUT" to create HTML tags?

2001-05-23 Thread Andrew O'Brien
On Wed, May 23, 2001 at 11:33:20PM -0700, Michael George III wrote: > Just in case anyone wants the solution: > > > [- local $escmode=0; print OUT "\ Hello World \"; -] > You don't need "\<" in the string with $escmode=0, "<"

(not so) Simple feature request/expansion

2000-12-18 Thread Andrew O'Brien
doesn't work: It didn't look to be a quick fix from the source tho. -- Andrew O'Brien [EMAIL PROTECTED] http://linux.conf.au faceless organiser #3 Jan 17th-20th: Sydney, Aus -

RE: Embperl parser probs: nested strings w/ closing block tags

2000-10-23 Thread Andrew O'Brien
, this doesn't help. The problem is the parsing of the closing block, not the opening, if I've guessed what is happening correctly. Esccaping -] with -]] is not a solution for the obvious reasons :) Escaping either the -, ] or both characters in the string has the expected error of "no cl

Embperl parser probs: nested strings w/ closing block tags

2000-10-23 Thread Andrew O'Brien
param => \@q } ); @{ q[0] }->[2]; # prints "3" -] [+ @q = ( ); Execute ({ input => \'[+ $param[0] = [1,2,3]; "";+] Done some substitutions on param0 ... ', inputfile => 'Return array by reference'