Re: [OT] Perl vs. PHP..... but where is mod_perl?

2002-10-18 Thread allan juul
odd yes, they are up to date it seems

head('http://www.newsfactor.com/perl/story/19716.html')

returns:
Apache/1.3.26 (Unix) PHP/4.2.2 mod_perl/1.27

bad article BTW IMHO
./allan

Quoting Richard Clarke [EMAIL PROTECTED]:

 List,
 
 http://www.newsfactor.com/perl/story/19716.html
 
 ...sigh?
 
 Ric
 
 


-- 



Using Constants from seperate file

2002-07-28 Thread allan juul

hi

i wish to use use constants defined in a seperate file. my problem is, that 
sometimes it works sometimes it doesn't. when failing, the error_log says 
Bareword is not allowed so i guess it sometimes never loads my constants file 
at all.

this is my basic approach:


Package Foo:Bar;

use strict;

BEGIN {
  require Constants.lib;
}


sub handler {
  my $r = shift;
  ...

  my $sql = SQL_SELECT; # pull in constant value
  

}


is this a stupid approach, and if so what would be a more correct solution?
(i would prefer _not_ to have the constant file loaded once and for all in a 
startup.pl).


any suggestions appriciated
thanks
./allan



RE: New mod_perl site and oddness with IE

2002-07-18 Thread Allan Juul

before the mails comes tumbling in ...

please check this url [tested on winXP/IE6.0] as already send to the docs
list and original poster

http://www.bullitt.suite.dk/clean3/dst_html/docs/1.0/guide/performance.html



thanks
./allan




 (There was no reason *why* taking out the 'position: relative's should
 work - it just struck me as the first thing that wasn't 
 necessary in the
 style sheet. Possibly irritating an IE bug just a little too much)

not sure which rule of position you were talking about. the above url
specify no position for the rightbox div



Re: New mod_perl site and oddness with IE

2002-07-17 Thread allan juul

Quoting Jim Helm [EMAIL PROTECTED]:

 Has anyone else had problems with this particular page under IE
 (6.0.2600 under XP) being extremly slow to update when paging up/down?
 It works fine under Mozilla, and it's not a memory or cpu issue (checked
 with task manager already). And when I say slow, I mean a simple down
 cursor causes the visible portion of the page to get painted in 4
 noticble steps/chunks.
 --Jim 


please check if the problem exists on this url:

http://www.bullitt.suite.dk/clean3/dst_html/docs/1.0/guide/performance.html

if you have other browser software, please check and see if anything else is 
broken there as well.

thanks a lot!

/allan