Re: List your software with new feature-based search engine

2001-03-15 Thread Stas Bekman
On Thu, 15 Mar 2001, Ask Bjoern Hansen wrote: > On Fri, 16 Mar 2001, Stas Bekman wrote: > > > > [1] I do the same thing for the lists at perl.org and for whatever > > > reason the modperl lists gets about the same amount or more spam > > > than the perl.org lists combined. > > > > I suppo

Re: List your software with new feature-based search engine

2001-03-15 Thread Ask Bjoern Hansen
On Fri, 16 Mar 2001, Stas Bekman wrote: > > [1] I do the same thing for the lists at perl.org and for whatever > > reason the modperl lists gets about the same amount or more spam > > than the perl.org lists combined. > > I suppose that's because of the multiply mirrors of the perl.apach

Re: List your software with new feature-based search engine

2001-03-15 Thread Stas Bekman
On Thu, 15 Mar 2001, Ask Bjoern Hansen wrote: > On Thu, 15 Mar 2001, BigSofte Vendor Services wrote: > > > Dear Software Manufacturer: > > @%#@$%&^. I must have made a typo or whatever while going through > the days spam and postings from non-subscribers. (averaging on a > handful or three of spa

Re: how to print $ sigh in the output

2001-03-15 Thread Sean C. Brady
' and \ are your friends print '$PATH' or print "\$PATH" The O'REILLY book 'Learning Perl' is a good one I would suggest reading it... ~Sean > Jamal Uddin wrote: > > Hello, > > I am writing a perl script which will produce some scripts or files > containing "$" but I failed because

Re: List your software with new feature-based search engine

2001-03-15 Thread Ask Bjoern Hansen
On Thu, 15 Mar 2001, BigSofte Vendor Services wrote: > Dear Software Manufacturer: @%#@$%&^. I must have made a typo or whatever while going through the days spam and postings from non-subscribers. (averaging on a handful or three of spams and a few postings from non-subscribers)[1]. Sorry.

Apache::ASP - Forbidden

2001-03-15 Thread Francisco Ramiro Pereira
Greetings When I run http://localhost/eg I got this: “Forbidden You don't have permission to access /eg/ on this server. Apache/1.3.14 Server at royal.sisnetti.com.br Port 80” When I run http://localhost/asp/sample it works well. What I'm doing wrong. The directory is: /home/httpd/html/eg/ ...

how to print $ sigh in the output

2001-03-15 Thread Jamal Uddin
Hello,   I am writing a perl script which will produce some scripts or files containing "$" but I failed because "$" is used as an operator. Can any one please let me know how to define $ as a simple character. Supposed, I asked to print $PATH in my output. Thank you.     Jamal [EMAIL PROTECT

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-15 Thread Brian Ingerson
Garrett Goebel wrote: > > From: Paul [mailto:[EMAIL PROTECTED]] > > > > Anybody know offhand *why* my() lexicals are supposedly faster? > > Because a dynamic variable allocates a "new" value at runtime which occludes > the global value until it's scope expires. In contrast, a lexical variable >

RE: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-15 Thread Garrett Goebel
Title: RE: Very[OT]:Technical query re: scratchpad lookups for my() vars From: Paul [mailto:[EMAIL PROTECTED]] > > Anybody know offhand *why* my() lexicals are supposedly faster? Because a dynamic variable allocates a "new" value at runtime which occludes the global value until it's scope e

VeryOT: help needed

2001-03-15 Thread Jauder Ho
Alright, it's crunch time (trying to help a coworker out) and I need to pick up some XML parsing with perl fast. So if anyone here has some good resources, they can point me at, it would be much appreciated. The problem I am trying to solve is as follows: I have two XML files, one is encoded in

Re: List your software with new feature-based search engine

2001-03-15 Thread Paul
lol Spamming a technical list seems less than prudent, doesn't it? Jeez, I mean, just one anti-social teenager can make nasty packages like the "I Love You" virus what could several thousand experienced hackers with literally hundreds (minimally) of commercial-grade servers at their whim

segfault on subrequest?

2001-03-15 Thread Pierre Phaneuf
I have a PerlTransHandler that is very simple: sub handler { my($r) = @_; my($info); $info = $r->lookup_file('/home/pp/pierre.jpg')->content_type(); warn("content type is $info\n"); return DECLINED; } But it causes a segfault when invoked... I removed the "->content_type()", so tha

Re: List your software with new feature-based search engine

2001-03-15 Thread Randal L. Schwartz
> "BigSofte" == BigSofte Vendor Services <[EMAIL PROTECTED]> writes: BigSofte> Dear Software Manufacturer: I didn't know people still "manufacture" software. I thought only marketing "manufactured" things. BigSofte> We can help you make it much easier to promote your software BigSofte> on

List your software with new feature-based search engine

2001-03-15 Thread BigSofte Vendor Services
Dear Software Manufacturer: We can help you make it much easier to promote your software on the Internet. Your company is invited to list its software products at no charge on BigSoftE, the first Internet Software Search Engine. Launching this month, Bigsofte provides detailed product informa

RE: cgi_to_mod_perl manpage suggestion

2001-03-15 Thread Rob Bloodgood
> On Wed, 14 Mar 2001, Perrin Harkins wrote: > > > On Wed, 14 Mar 2001, Issac Goldstand wrote: > > > I still think that the above line is confusing: It is > because mod_perl is > > > not sending headers by itelf, but rather your script must provide the > > > headers (to be returned by mod_perl)

Re: Memory Leaks?

2001-03-15 Thread Robin Berjon
At 15:50 15/03/2001 -0300, Jason Leidigh wrote: >I was able to clean up a number of errors which seemed as >though they were indeed causing leaks. For example: > >$regex = qr'xx?'i; > >Causes the following error: > >(?i-xsm:xx?) can't `Regexp::DESTROY' AUTOLOADs will catch DESTROYs, the latter

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-15 Thread Paul
Many thanks to everyone, Malcolm in particular, for humoring my curiosity and assisting my esoteric research. Hope it helped someone else, too, and sorry for cluttering up the board. But it *dod* say it was Very[OT]. ;o) Paul --- Malcolm Beattie <[EMAIL PROTECTED]> wrote: > Paul writes: > > >

Memory Leaks?

2001-03-15 Thread Jason Leidigh
At the the mod_perl/Apache web site (http://perl.apache.org/faq/#Why_is_httpd_using_so_much_memor)   there is a section about memory usage and a subroutine is given which can help test for memory leaks which perl "does no overtly report"   Joel Wagner reports that calling an undefined subrout

Re: unreleased sockets using DBI / DBD::mysql under mod_perl?

2001-03-15 Thread Tom Mornini
On Thu, 15 Mar 2001, Joern Janoschek wrote: > What makes me scratch my head is the fact that the exit was > placed before the dbi connect call... which leads me to the > conclusion that the exit was simply not executed at all, no > override version or something else. Strange... Why scratch you h

Re: unreleased sockets using DBI / DBD::mysql under mod_perl?

2001-03-15 Thread Joern Janoschek
Aparently we got the unauthorized connection problem under control. It seems to us that the exit function override of Apache::Registry didn't work as expected. In a desperate attempt did we re-program our scripts to exit-less versions which made it. Now the connections come and go easily. Anyone e

Re: %ENV

2001-03-15 Thread darren chamberlain
Geoffrey Young ([EMAIL PROTECTED]) said something to this effect on 03/15/2001: > > Gene Dascher ([EMAIL PROTECTED]) said something to > > this effect on 03/15/2001: > > > Well, with the subprocess_env(), I can see the key that I > > set in my cgi now, > > > but the value that I set the key to i

RE: %ENV

2001-03-15 Thread Geoffrey Young
> -Original Message- > From: darren chamberlain [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 15, 2001 8:34 AM > To: [EMAIL PROTECTED] > Subject: Re: %ENV > > > Gene Dascher ([EMAIL PROTECTED]) said something to > this effect on 03/15/2001: > > Well, with the subprocess_env(), I

Re: Installing mod_perl on MacOSX

2001-03-15 Thread Ken Williams
[EMAIL PROTECTED] (Philippe de Rochambeau) wrote: >has anyone ever installed/compiled mod_perl for MacOSX? If so, how >exactly did you do it? See this thread: http://forum.swarthmore.edu/epigone/modperl/philsmangyi ------ Ken W

Re: %ENV

2001-03-15 Thread darren chamberlain
Gene Dascher ([EMAIL PROTECTED]) said something to this effect on 03/15/2001: > Well, with the subprocess_env(), I can see the key that I set in my cgi now, > but the value that I set the key to is a Hash reference that I need to use > in my cgi. Unfortunately, all I get now is ENV{'TEST_VAR'} =

RE: %ENV

2001-03-15 Thread Geoffrey Young
> -Original Message- > From: darren chamberlain [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 15, 2001 7:19 AM > To: modperl > Subject: Re: %ENV > > [snip] > Try fiddling with $r->subprocess_env; I've had good results > that way. e.g.: > > $r->subprocess_env('TEST_VAR', 1)

RE: %ENV

2001-03-15 Thread Gene Dascher
Well, with the subprocess_env(), I can see the key that I set in my cgi now, but the value that I set the key to is a Hash reference that I need to use in my cgi. Unfortunately, all I get now is ENV{'TEST_VAR'} = HASH(0x860a278), and I can't pull my values out. Thanks for the help; it looks like

Re: %ENV

2001-03-15 Thread darren chamberlain
Gene Dascher ([EMAIL PROTECTED]) said something to this effect on 03/15/2001: > Is the ENV hash sanitized and repopulated between the time the Perl*Auth > handlers are run and the requested cgi is executed? I am setting an ENV key > in one of my handlers that I'd like to use in a cgi that resides

%ENV

2001-03-15 Thread Gene Dascher
Is the ENV hash sanitized and repopulated between the time the Perl*Auth handlers are run and the requested cgi is executed? I am setting an ENV key in one of my handlers that I'd like to use in a cgi that resides in a protected directory. Is it possible to retain that variable throughout the en

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-15 Thread Alexander Farber (EED)
Paul wrote: > None of this is critical for anything I'm doing right now, but I'm a > detail hound. I want to *understand* it, so that in the future I can > make intelligent decisions about what would be a "better" way to write > any given algorithm, without just relying on popular wisdom and "urba

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-15 Thread Alexander Farber (EED)
Paul wrote: > --- Robert Landrum <[EMAIL PROTECTED]> wrote: > > I could be wrong, but as I recall, when your program enters a scope, > > perl immediatly identifies the the scratchpad to use. Then, it need > > only search backwards up the tree of scratchpads to find the variable > > "$x", which is

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-15 Thread Malcolm Beattie
Paul writes: > > --- Brian Ingerson <[EMAIL PROTECTED]> wrote: > > Garrett Goebel wrote: > > > > > > From: Paul [mailto:[EMAIL PROTECTED]] > > > > > > > > Anybody know offhand *why* my() lexicals are supposedly faster? > > > > > Yes this is OT, but I'll contribute to the problem as well..

[OT] do { local *FH; }

2001-03-15 Thread Matt Sergeant
On Wed, 14 Mar 2001, Paul wrote: > Learned a new trick: > my $fh = do { local *FH; }; I've had trouble using this under mod_perl - bizarre results with it not actually being lexical and not closing the file. I had to resort to using Apache->gensym in the end. Has anyone else seen the same? --