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
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
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
' 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
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.
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/ ...
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
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
>
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
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
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
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
> "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
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
> 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)
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
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:
> >
>
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
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
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
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
> -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
[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
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'} =
> -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)
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
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
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
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
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
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..
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?
--
32 matches
Mail list logo