Re: Embperl Abandoned: Next Steps?

2008-09-06 Thread Kaare Rasmussen
re. I like the observation that designers don't understand templates, only CSS :-) -- Med venlig hilsen Kaare Rasmussen, Jasonic Jasonic Telefon: +45 3816 2582 Nordre Fasanvej 12 2000 Frederiksberg Email: [EMAIL PROTECTED] --

Re: Using Catalyst to revitalize Embperl

2007-08-09 Thread Kaare Rasmussen
Gerald doesn't have the time and/or energy to move Embperl forward. Speed and performance are important, off course, as is diversity, so I'll hang around and try to see if there's anything I can help with with the limited time I have. -- Med venlig hilsen Kaare Rasmussen, Jason

Embperl on OpenSUSE 10.1

2006-05-13 Thread Kaare Rasmussen
e 982, line 6. line 982 in Makefile.PL is only executed if there's no $mp2cfg. Don't know what it is, but shouldn't I have one? -- Med venlig hilsen Kaare Rasmussen, Jasonic Jasonic Telefon: +45 3816 2582 Nordre Fasanvej 12 2000 Frederiksberg Ema

Re: Some philosophical questions

2005-07-30 Thread Kaare Rasmussen
> Any thoughts? It would help to get a final version of Embperl 2.0 out the door. I know of at least one OOS project being stalled because there's no official 2.0 You may argue that the current rc will be the official Embperl 2.0, but people like to see it before they act. -

Embperl 2 final ?

2005-06-01 Thread Kaare Rasmussen
Hi What is the timeframe for Embperl 2.0 final/gold/whatuwannacallit? If I didn't misunderstand, mod_perl 2 is finally final, so Embperl 2 has a chance to becoming same. Can you (well, Gerald, I believe) make a guesstimate about when it will be so?

Embperl 2 final ?

2005-06-01 Thread Kaare Rasmussen
Hi What is the timeframe for Embperl 2.0 final/gold/whatuwannacallit? If I didn't misunderstand, mod_perl 2 is finally final, so Embperl 2 has a chance to becoming same. Can you (well, Gerald, I believe) make a guesstimate about when it will be so?

Re: Embperl 2 for Apache 2 on SUSE Linux 9.3

2005-05-25 Thread Kaare Rasmussen
Hi > do you have LoadModule embperl_module "/path/to/Embperl.so" in apache > config? Thanks for the advice. I did include it in the configuration file, but it is alas one of the files that SUSE decides to overwrite on startup. It wants to do some magic so I have to do some un-magic so it can

Re: Embperl 2 for Apache 2 on SUSE Linux 9.3

2005-05-24 Thread Kaare Rasmussen
> # make test If I ignore the test and just make install, it sort of works. Strange thing is that EMBPERL_APPNAME freemoney EMBPERL_OBJECT_BASE base.tepl EMBPERL_URIMATCH "\.htm.?|\.epl$" EMBPERL_SESSION_HANDLER_CLASS "no" EMBPERL_FILESMATCH "\.htm.?|\.epl$" results in a startup mess

Re: Embperl 2 for Apache 2 on SUSE Linux 9.3

2005-05-23 Thread Kaare Rasmussen
> Alas, Novell doesn't include Embperl with its distribution. It does however > have Apache 2 and mod_perl 2. How dificult is it to get Embperl 2 to run on > top of that? SUSE 9.3 with apache2, apache2-devel. mod_perl 2 and either apache-prefork or apache-worker doesn't seem to like embperl: con

Embperl 2 for Apache 2 on SUSE Linux 9.3

2005-05-22 Thread Kaare Rasmussen
Hi Any easy installation guide for this combination? Alas, Novell doesn't include Embperl with its distribution. It does however have Apache 2 and mod_perl 2. How dificult is it to get Embperl 2 to run on top of that? - To uns

Re: Embperl configuration on SUSE 9.1

2004-09-20 Thread Kaare Rasmussen
_and_mod_ssl_openssl_ Embperl is now working. Thanks for your answer. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Nordre Fasanvej 12 Åben 12.00-18.00Email: [EMAIL PROTECTE

Embperl configuration on SUSE 9.1

2004-09-20 Thread Kaare Rasmussen
etHandler perl-script PerlHandler Embperl::Object PerlScript conf/fm-startup.pl Options ExecCGI Where to look, and for what ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Nordre Fasa

Embperl on Apache 2, SUSE 9.1

2004-09-15 Thread Kaare Rasmussen
Hi Before I start, I'd like to know if this has been done before, installing Embperl on a stock SUSE 9.1 (but with a Perl compiled w/o threads). If so, what do I tell Embperl when it wants the source from mod_perl ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816

Re: DBIx::Recordset and postgresql schemas?

2004-08-25 Thread Kaare Rasmussen
missing something obvious? You don't need to use schemas. I do use it though. The way I do it in DBIx::Recordset is not pretty, but it works: $db -> do ("SET search_path TO $schema"); -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Data

Framework

2004-06-13 Thread Kaare Rasmussen
Hi For my project Freemoney I've developed a framework for fields based entry forms. It's rather basic and I'd like to know if there could be someone out there who also needs something like this, so we could develop it further. It could use some refactoring in places too, as it has been develo

Is DBIx::Recordset unmaintained ?

2004-05-11 Thread Kaare Rasmussen
, a situation I don't like. Primarily because I can't publish Freemoney with that kind of limitation. So what's happening to DBIx::Recordset ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:

Re: new DBIx::Recordset maintainer requested

2004-04-18 Thread Kaare Rasmussen
rks for everybody else. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000 FrederiksbergLørdag 12.

Re: DBIx::Recordset - sql_type and pg_type

2004-03-22 Thread Kaare Rasmussen
answer. DBD::Pg is 1.31 and Perl is 5.8.1 Hope this can give a clue. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000

sql_type and pg_type

2004-02-17 Thread Kaare Rasmussen
x/Database.pm line 148. Commenting out lines #147-148 and reenabling line # 146 seems to finish this problem. But it seems to be a troublesome spot, judging by the number of commented lines :-) I think that I just moved the problem to another area. Could you look into this ? -- Kaare Rasmussen

Last button

2004-02-17 Thread Kaare Rasmussen
at least gets me there, but still I don't get any rows. Do anybody have an overview over the magic fields for searching with DBIx::Recordset ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816

Re: DBIx::Recordset version

2004-01-12 Thread Kaare Rasmussen
E (Terrence Brannon <[EMAIL PROTECTED]>) CPAN_VERSION 0.25 CPAN_FILET/TB/TBONE/DBIx-Recordset-0.25.tar.gz -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75

DBIx::Recordset version

2004-01-07 Thread Kaare Rasmussen
nce Brannon <[EMAIL PROTECTED]>) CPAN_VERSION 0.24 CPAN_FILEG/GR/GRICHTER/DBIx-Recordset-0.24.tar.gz DSLI_STATUS bmpO (beta,mailing-list,perl,object-oriented) MANPAGE DBIx::Recordset - Perl extension for DBI recordsets -- Kaare Rasmussen--Li

Re: [ANNOUNCE] DBIx::Recordset 0.25 now on CPAN

2004-01-02 Thread Kaare Rasmussen
AN_FILEG/GR/GRICHTER/DBIx-Recordset-0.24.tar.gz Seems it is still 0.24 on CPAN ? > * Full SQL Query input via the !Query option to Search() It's not documented ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts,

Re: DBIx::Recordset andLongNames error

2003-12-30 Thread Kaare Rasmussen
gin. Not sure how to use it though as I'd prefer to begin my transaction before any read, but I guess it's like this my $set = DBIx::Recordset -> Search ({ %search }); $$set -> Begin; updates, deletes and inserts $$set -> Commit; -- Kaare Rasmussen--Linux,

Re: DBIx::Recordset andLongNames error

2003-12-29 Thread Kaare Rasmussen
oss multiple tables? I can't remember. Also this. Would be something of a dream, though I'm not sure its doable. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75

DBIx::Recordset andLongNames error

2003-12-29 Thread Kaare Rasmussen
Terence Brannon. I'd really like to be able to use table aliases, will this be in the future path for DBIx::Recordset ? Also, will the above query be updatable with DBIx::Recordset ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts,

Re: Pr server data

2003-12-19 Thread Kaare Rasmussen
Hi Gerald > You can simply put it in a varibale and it will stick. Since Embperl > normaly cleans up all package variables you can put it in a different > namespace e.g. Thanks - it works great! Is this documented? I searched the docs and with Google, but... -- Kaare

Pr server data

2003-12-13 Thread Kaare Rasmussen
I want to save some data per Apache server - NOT per user or per page. Is this possible with Embperl? Or will I have to study mod_perl ? The data is a POE client object. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize

Re: execute problems

2003-12-04 Thread Kaare Rasmussen
> You can make it even more smart if you are using EmbperlObject. If you > execute your files with the "isa" syntax in the "base template" file you > can call your subs as methods of the $req object. Not quite sure what the isa syntax is here. -- Kaare Rasm

execute problems

2003-12-03 Thread Kaare Rasmussen
'); OK except that the subs are not imported now. Will I have to do this to get what I want - which is both the req object AND the sub routines ? Execute ({inputfile => 'findList.sub', import => 1}); Execute ('findList.sub'); -- Kaare Rasmussen

Re: request for DBIx::Recordset patches

2003-11-24 Thread Kaare Rasmussen
pick one. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000 FrederiksbergLørdag 12.00-16.00 Web: ww

DBIx::Recordset and POE

2003-11-15 Thread Kaare Rasmussen
ile a database query is being processed, but I'm not sure if this is a problem or not. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Ema

Re: Possible DBIx::Recordset changes

2003-11-14 Thread Kaare Rasmussen
work anywhere. It's necessary with subselects with where-clauses. Another request is to enable the use of table aliases. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75

Re: Problems in 2.0b8

2003-11-05 Thread Kaare Rasmussen
]+] [$sub testArray$] [- $name = shift -] [+ $name +] [$endsub$] Third table [+ testArray($myrows[$row]) +] Second table [- testArray($myrows[$row]) -] -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize

Re: Problems in 2.0b8

2003-11-05 Thread Kaare Rasmussen
lsif some other thing$] for @data1 for @data2 [$endif$] some fixed rows at the end So obviously I'd like the tags to be the enclosing entity for which a recurring action shuld take place. At least as an option. -- Kaare Rasmussen--Linux, spil,--Tlf:

Problems in 2.0b8

2003-11-03 Thread Kaare Rasmussen
le, it was my experience that the row counter went crazy. I didn't do much testing, so perhaps I'm wrong (?), but if not, is this solved now ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:38

Re: What's going on with Embperl???

2003-09-19 Thread Kaare Rasmussen
of sharing - og Embperl sources. I think that there ought to be a lot of code out there that could easily be shared. Both snippets, solutions and projects. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:

OpenGroupware and Embperl

2003-09-19 Thread Kaare Rasmussen
seems to work; Apache is running with boh handlers installed. I do think it's strange though. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00

Re: What's going on with Embperl???

2003-09-17 Thread Kaare Rasmussen
on the 2.0 > beta in so long... I'm holding off myself until 2.0 is finished. I know others do too. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00

Embperl 2.0?

2003-06-02 Thread Kaare Rasmussen
Hi Any news about the release date of 2.0? Gerald has been VERY quiet. Possibly too busy with "real" work, but I fear for Embperl's future. And I have a project that relies upon 2.0. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Data

Re: Does udat always work?

2003-03-31 Thread Kaare Rasmussen
(taken a couple of months ago). -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000 FrederiksbergLørdag 12.00

Does udat always work?

2003-03-31 Thread Kaare Rasmussen
_out{'Location'} = $fn But when I reach login.epl, %udat is still fully populated. Does the relocation have this influence? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75

DBIx:Recordset q's

2003-03-16 Thread Kaare Rasmussen
of error reporting, even though I think I call it correctly. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/site_perl/5.6.1/DBIx/Recordset.pm line 3864. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/site_perl/5.6.1/DBIx/Recordset.pm line 3933. Use of uninitialized

Re: Serve pdf files.

2003-02-18 Thread Kaare Rasmussen
Now I have the pdf file in $var. How do I display it with Embperl? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 20

Serve pdf files.

2003-02-14 Thread Kaare Rasmussen
have to maintain some kind of temporary directory and unique file names. Solution 3: EmbPerl will help me somehow -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00

Vim syntax again

2003-01-30 Thread Kaare Rasmussen
Hi I changed to using VIM version 6.1.150, and now Embperl highlighting went away. Does anybody have an idea about what to do? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75

When will 2.0b9 be out?

2003-01-22 Thread Kaare Rasmussen
"[=" changed from 2.0b8 to 2.0b9. In 2.0b8 [=Update Selected=] will give an error; 2.0b8 expects single quotes: [='Update Selected'=] . Not so in 2.0b9 from CVS. Can I tell 2.b8 to do as in 2.0b9? Or how long time before an official 2.0b9 ? -- Kaare Rasmussen

DBIx:Recordset

2003-01-22 Thread Kaare Rasmussen
Can DBIx::Recordset make this update: UPDATE table SET col = col + ? WHERE id = ? If so, how??? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00

[= changed behavior

2003-01-20 Thread Kaare Rasmussen
[= changed from 2.0b8 to 2.0b9. In 2.0b8 [=Update Selected=] will give an error. Not so in 2.0b9 from CVS. Can I tell 2.b8 to do as in 2.0b9? Or how long time before an official 2.0b9 ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Data

Talk from ApacheCon 2002

2003-01-17 Thread Kaare Rasmussen
Hi I just saw that the talk about Embperl from the ApacheCon 2002 is online now. I would like to print it in one swoop and read it at home. Is this possible? The talk looks great. I've just skimmed it, but I think that it clears up some of the less documented parts. Thanks. --

Duplicating SELECT

2003-01-04 Thread Kaare Rasmussen
Embperl 2.0b9 will add any SELECT field to the [$hidden$], so it will be duplicated. If the user chooses an entry with value 1, it will be 1\t1 if I use [$hidden$]. It did not do that with 2.0b8. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Data

as outer block (and recipes)

2003-01-03 Thread Kaare Rasmussen
how to display and process the fields to a subroutine. Getting back from this subroutine I call the update routines. Will recipes be a better way and if so, why? If not, where can I put recipes to good use? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Data

Re: Date function w/ DBIx::Recordset

2002-12-24 Thread Kaare Rasmussen
Hi > Use > '\fieldname'=> "'2003-1-31' + interval '1 month'", > That tells it not to quote the value, but rely on you to do it. My Goodness! It works! Thanks :-) -- Kaare Rasmussen--Linux, spil,--Tlf:381

Date function w/ DBIx::Recordset

2002-12-23 Thread Kaare Rasmussen
Hi I would like to let the database calculate the correct date, so something like this should go into the date column: date '2003-1-31' + interval '1 month' but DBIx::Recordset does not like this syntax. Is it at all possible with DBIx::Recordset? -- Kaare Rasmusse

Header / Footer when empty list

2002-12-18 Thread Kaare Rasmussen
o put a check for an empty array, but it seems to bail out already at the table tag in that case. This is Embperl 2.0b8. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75

DBIx::Recordset and functions

2002-11-09 Thread Kaare Rasmussen
Can I select a function with DBIx::Recordset? E.g.: SELECT updateRow(1,2,3,4); ?? I would hate to mix DBD with DBIx::Recordset... -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75

Re: I17n && submit

2002-11-06 Thread Kaare Rasmussen
gettext will give you the same text as [= =] does. I would to prefer ... [$ if $fdat{update} $] It has a downside too. If I'd like to handle all the submit functions in one section, the code will look ugly. But there's a choice :-) -- Kaare Rasmussen--Linux, spil,--

I17n && submit

2002-11-05 Thread Kaare Rasmussen
rect comparison? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000 FrederiksbergLørdag 12.00-16.00 Web:

Dynamic embperl search path

2002-10-28 Thread Kaare Rasmussen
CT_ADDPATH - or otherwise? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Web: www.suse.dk 2000 FrederiksbergLørdag 12.00-16.00

Re: Vim Syntax ?

2002-10-15 Thread Kaare Rasmussen
re I got the script from: http://vim.sourceforge.net/script.php?script_id=61 Gerald, you should really point to this (when you have time...). But is this really the latest and greatest? Does someone use an enhanced version? After all, it is more than a year old. -- Kaare Rasmussen

Vim Syntax ?

2002-10-15 Thread Kaare Rasmussen
1 The url doesn't work anymore. Is this the latest and greatest in Vim syntax for Embperl? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-

Re: Session support

2002-09-28 Thread Kaare Rasmussen
will be a big performance win, but I'd like to know that the installation is optimal. But another thing re sessions. I'm thinking about adding an "updated" column and a trigger or something to be able to clean out old unused sessions. Or does Apache::Session(X) magically keep t

Re: Session support

2002-09-26 Thread Kaare Rasmussen
ssion about pro / con for this. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000 FrederiksbergLørdag

Re: Session support

2002-09-25 Thread Kaare Rasmussen
message about the same problem. I think the answer was to set the parameters to Postgres Semaphore Base64. I got it to work, but I will try it out with Null instead of Semaphore. Not sure about Base64. Is this the best setting? -- Kaare Rasmussen--Linux, spil,--Tlf:

Session support

2002-09-24 Thread Kaare Rasmussen
/usr/lib/perl5/site_perl/5.6.1/Apache/Session/Store/DBI.pm line 42. Apache/1.3.26 (Unix) Embperl/2.0b8 PHP/4.2.2 mod_perl/1.27 [Mon Sep 23 22:32:28 2002] Line 42 in DBI.pm is an execute of an insert into the sessions table. Can anyone help me or offer any hints? -- Kaare Rasmussen

DBIx::Recordset array

2002-09-24 Thread Kaare Rasmussen
process the orderlines in a transaction together with the orderheader. This can only be done when the user accepts the full order. In the mean time, any changes to orderlines will have to be volatile. So the idea is to put the array of orderlines into %udat. -- Kaare Rasmussen

DBIx and aliases

2002-09-10 Thread Kaare Rasmussen
, and then ALL field names have to be translated. 2. I can't join the same table twice in the same query. 2½. The join and where clauses become where long. Am I overlooking something, or is this true? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582

MVC and plugging into the application

2002-09-03 Thread Kaare Rasmussen
Hi To get things started, it would be nice to have examples for the more advanced Embperl features like - How do I use Embperl to develop a MVC application - How and why do I plug into the application object - How do I use recipes and so on. Do these examples exist somewhere? -- Kaare

Re: (Emb)perl & JavaScript

2002-09-03 Thread Kaare Rasmussen
on any browser, at least in a basic mode. So I guess I will have to leave out JS. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL

Re: ANNOUNCE: ewok - embperl-based content management system

2002-09-03 Thread Kaare Rasmussen
as a reminder service :-) -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000 FrederiksbergLørdag 11.00-17.00

Re: Persistent database connection

2002-09-02 Thread Kaare Rasmussen
Hi > Install Apache::DBI and loads it in your httpd.conf before any call to DBI. > PerlModule Apache::DBI Thanks. Seems that I've forgotten more than I care to think about :-( But what about mod_perl 2. Is this still the same? -- Kaare Rasmussen--Linux, spil,--

Persistent database connection

2002-09-02 Thread Kaare Rasmussen
using Alzabo (99% sure), but even if I use DBIx::Recordset or plain DBI, the answer ought to be the same ? This is a long term solution; I will be using Embperl 2 and mod_perl 2. Please note if the answer is dependant on this. -- Kaare Rasmussen--Linux, spil,--Tlf:3816

Permission denied in Semaphore.pm

2001-01-06 Thread Kaare Rasmussen
t's coming from. I have to use ipcrm to remove it. If I do this, I can get the other apache server to use sessions, but then the wwwrun-apache won't :-( Any session specialists here who can tell what to do? Maybe lower the number of nsems (whatever that is)?? And how? -- Kaare Rasmusse

Re: Secure way of logging in

2000-10-02 Thread Kaare Rasmussen
are passed on to page b - but how? Will a fdat entry with the username be secure enough? Or can a person who knows the username fake it? I believe he can, but how can I make this secure - I can't validate the password every time page b is called. -- Kaare Rasmussen--Linux, spil,--

Secure way of logging in

2000-10-01 Thread Kaare Rasmussen
gin information. I hope someone has done this and will share Regards, -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2582 Howitzvej 75 Åben 14.00-18.00Email: [EMAIL PROTECTED] 200

Continue on non-local page

2000-10-01 Thread Kaare Rasmussen
a redirect, and the browser complains when I try to go from a https to a normal http page. I would like to avoid this message, which will confuse the user. Thanks in advance. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts,

Redirect w/data

2000-09-10 Thread Kaare Rasmussen
Hi I want to go to another page if some condition arises. I can do this [- $http_headers_out{'Location'} = "$fdat{Errorpage}" -] But what if I want to pass a variable? In fact I want the error page to display the content of a error variable. Of course it is possible to construct a "GET" type s

Foreach problem

2000-08-26 Thread Kaare Rasmussen
I have another problem with Embperl This construct: [$ foreach $prod @product $] [$ if ($prod->{name}) $] [+ $prod->{name}.'.value*'.$prod->{price}.' +' +] [$ endif $] [$ endforeach $] gives me this error: [Sat Aug 26 11:09:47 2000] [error] [831]ERR: 38: Line 33: Too few arguments [Sat A

Re: fdat blues

2000-08-01 Thread Kaare Rasmussen
I have an error somewhere in the HTML code. But it's bewildering that it only happens when the .epl file is changed and thereby reloaded. Btw. it started when I installed 1.3b4. I installed this version to get over the other strange problem I reported last time... -- Kaare Rasmussen

RE: fdat blues

2000-08-01 Thread Kaare Rasmussen
pect. I've tried [+ "-> $fdat{order} <-" +] and other values than "order" that I know should be there. But it's not there the first time around :-( -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merch

fdat blues

2000-07-31 Thread Kaare Rasmussen
data. And then it works for the time being; other orders can be made with no problem. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2582 Howitzvej 75 Åben 14.00-18.00Ema

RE: ANNOUNCE: HTML::Embperl 1.3b4

2000-07-17 Thread Kaare Rasmussen
lped on a third problem - when I tried to use MailFormTo it sent two copies of the email. Now it only sends one! GrreaaAT!! -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2582 Howitzvej 75 Å

RE: Too complex ??

2000-07-09 Thread Kaare Rasmussen
5 days, so I will not be able to answer > any mail before friday Hm, as always this is something that has to be solved quick. But I'll send you the pages involved if you'll look at them when you come back. Maybe there is a special situation here that my page stumbles on. -- K

Re: Too complex ??

2000-07-09 Thread Kaare Rasmussen
To make matters even worse, I discovered that the same page can load correctly sometimes. Most of the time it returns these faulty angle brackets. I'm using HTML-Embperl-1.3b3. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merc

Too complex ??

2000-07-08 Thread Kaare Rasmussen
at, I have some strange results. A page can work perfectly until I reinsert a   or an pair. Then the page hangs until I push the Stop button. I just installed the latest Embperl from CPAN, and I'm using Embperlobjects. What can I do to track the problem down? -- Kaare Rasmussen

Kwrite ?

2000-06-06 Thread Kaare Rasmussen
Does anyone know a way to make kwrite highlight Embperl code? It knows a lot of formats, including html and Perl, so maybe someone has made something for Embperl? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: EmbperlObject: parameters? (idea)

2000-05-25 Thread Kaare Rasmussen
may not work, but you get the idea. The problem is that I don't know the javascript until late in my original page, so how can I let the js_start sub wait until I know what to put in it? Maybe the answer is straight forward, but I'm too tired to see it now. -- Kaare Rasmussen

EmbPerl 2, was EmbPerl, Request Wap

2000-05-19 Thread Kaare Rasmussen
look like it's becoming more application server like, or at least can be used like that. -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2582 Howitzvej 75 Åben 14.00-18.00

makeForm

2000-05-15 Thread Kaare Rasmussen
I'm considering writing a makeForm function for easy generation of forms. Input should be some kind of metadata about the fields, rows and columns in the form. Output should be a working, usable form. Now, did anyone do something like this before? Surely there must be several attempt to write a c

More questions

2000-04-29 Thread Kaare Rasmussen
to put in startup.pl use mymodule(); to save time by including all the routines on startup. But if I do so, I can not access any routines in mymodule. They are simple not known. Why ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshi

RE: Javascript w/ EmbperlObject

2000-04-22 Thread Kaare Rasmussen
nLoad can only be used within , that's the problem. Btw. Is it possible to have a conditional execution? I want to execute this subroutine if it exists in the original file, but I don't want an error if it doesn't. -- Kaare Rasmussen--Linux, spil,--Tlf:3816

Javascript w/ EmbperlObject

2000-04-21 Thread Kaare Rasmussen
Hi I thought I could place this in my EmbperlObject template: and this in the original file: [$ sub js_start $] onLoad="nr.focus()" [$ endsub $] But the result is this: title onLoad="nr.focus()" How will I produce an individual onLoad if I want to use Embperl

RE: Persistent connection

2000-04-10 Thread Kaare Rasmussen
base connection alive "always". Is this a feature of Apache::DBI ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2582 Howitzvej 75 Åben 14.00-18.00Email: [EMAIL PROT

Persistent connection

2000-04-09 Thread Kaare Rasmussen
will make only one connect to the database instead of connecting for each and every query. I believe there must be a simple solution to this, but it's nowhere to be found in the Embperl dox. Maybe it belongs somewhere else; could someone give me a pointer to a good place to look? -- Kaare

Embperl and DBIx::Recordset

2000-04-08 Thread Kaare Rasmussen
I tried the Search example in the Database section of Intro (8) - the one with a PrevNextForm. The first 5 rows result only in a Next Record button. Fair enough, why have more. But the next 5 rows gives the same, no Previous Records button. And now it will not give me the next 5 rows, only the ro

RE: EmbperlObject and title

2000-04-07 Thread Kaare Rasmussen
> You could try the following (I didn't have tried it, but I think it should > work. Further version of EmbperlObject will have such a mechanisem build in) It actually works! And it seems you can do almost anything with it! -- Kaare Rasmussen--Linux, spil,--

RE: EmbperlObject and title

2000-04-07 Thread Kaare Rasmussen
> I think normaly such a page would not contains a tag (or a > section), because it's already part of the main page. If you by "main page" mean the template (which I will assume) then it will IMHO not be fine grained enough for most purposes. As I understand EmbperlObjects, it can be used as a

RE: EmbperlObject and title

2000-04-07 Thread Kaare Rasmussen
> What is the correct value? Not sure I understand your question, but I'll expand: This is taken from the example from EO's doxpage: /foo/base.htm: ('*') [- Execute ('head.htm') -] [- Execute ('*') -] [-

EmbperlObject and title

2000-04-07 Thread Kaare Rasmussen
EO is a _very_ nice idea. There is a problem with the title, though, because why will you want to have the same (or no) title for all your pages? If I didn't miss it, there's no way to tell what title to use. I'll suggest a placeholder in the base web page, something like ('*') and then in the

Error during make

2000-04-05 Thread Kaare Rasmussen
/errpage.htm Output: test/tmp/out.htm Compared to:test/cmp/errpage.htm Log:test/tmp/test.log ERRORS detected! NOT all test have been passed successfully -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchand

  1   2   >