Re: Segfaults

2004-04-27 Thread Beau E. Cox
On Monday 26 April 2004 06:04 pm, Gerald Richter wrote: > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 16384 (LWP 5447)] > > 0x40575711 in S_hv_fetch_common (my_perl=0x84bc198, hv=0x88dade8, > > keysv=0x0, > > > key=0x4070dbc6 "EMBPERL_ALLOW", klen=13, flags=0

Re: Just an observation - content type

2004-04-27 Thread Gerald Richter
Ben Kim wrote: > I had a few pages outputting csv files which used to work. (caused the > browsers to ask if to open or save) I had this header. > $http_headers_out{"Content-type"} = "application/vnd.ms-excel"; > > But from some time ago, they just began to show on the browser like a > plain text

Re: Could not open dbm file: Permission denied

2004-04-27 Thread Gerald Richter
Frederic Medery wrote: > We have the following error, is there a way to find where apache is > trying to write ? > > Could not open dbm file: Permission denied at > /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Store/DB_File.pm line > 32.! > The only idea to I have would be to use strace. But you

Re: subroutine question

2004-04-27 Thread Gerald Richter
An Embperl sub is for generating output, for doing some work use a Perl sub. Instead of > > [ $ sub sortnum () $] > [- $a <=> $b; -] > [$ endsub $] > use [- sub sortnum { $a <=> $b ; } -] Gerald --- Gerald Ric

Just an observation - content type

2004-04-27 Thread Ben Kim
I had a few pages outputting csv files which used to work. (caused the browsers to ask if to open or save) I had this header. $http_headers_out{"Content-type"} = "application/vnd.ms-excel"; But from some time ago, they just began to show on the browser like a plain text file would. Then we fo

Could not open dbm file: Permission denied

2004-04-27 Thread Frederic Medery
We have the following error, is there a way to find where apache is trying to write ? Could not open dbm file: Permission denied at /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Store/DB_File.pm line 32.! thanks ! - To unsubsc

Re: subroutine question

2004-04-27 Thread Beau E. Cox
On Tuesday 27 April 2004 06:51 am, [EMAIL PROTECTED] wrote: > Hi All, > I have an web app that creates simple graphs. In one of the scripts I need > to sort the data returned from the DB query numerically. I have a sub for > this sort. I converted the script shown below from a regular cron job to >

subroutine question

2004-04-27 Thread wschroed
Hi All, I have an web app that creates simple graphs. In one of the scripts I need to sort the data returned from the DB query numerically. I have a sub for this sort. I converted the script shown below from a regular cron job to embperl so I know that the perl works. The problem with the script be

Re: Segfaults

2004-04-27 Thread Beau E. Cox
On Monday 26 April 2004 06:04 pm, Gerald Richter wrote: > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 16384 (LWP 5447)] > > 0x40575711 in S_hv_fetch_common (my_perl=0x84bc198, hv=0x88dade8, > > keysv=0x0, > > > key=0x4070dbc6 "EMBPERL_ALLOW", klen=13, flags=0