On Tue, 22 Jul 2003 13:05:00 +0300, Stas Bekman wrote:
> Peter Haworth wrote:
> > Cache::Mmap (which I wrote) isn't threadsafe, but should work OK in a
> > forking MPM. If anyone wants to contribute code to make it threadsafe
> > (preferably without impacting single-thr
tionned in mod_perl2?
Cache::Mmap (which I wrote) isn't threadsafe, but should work OK in a
forking MPM. If anyone wants to contribute code to make it threadsafe
(preferably without impacting single-threaded performance too much), I'll be
very grateful. I'd do it myself, but I've
nd add t/04utf8.t)
This changes the file format, so added format version number to file header
Existing files which aren't cache files are not overwritten
From: PAUSE <[EMAIL PROTECTED]>
To: "Peter Haworth" <[EMAIL PROTECTED]>
Subject: CPAN Upload: P/PM/PMH/Cache
x27;re always adding new stuff, so it only ever
gets bigger.
--
Peter Haworth [EMAIL PROTECTED]
"We don't care how they do it in New York."
On 29 Jun 2002 01:46:00 +0400, Ilya Martynov wrote:
> >>>>> On Fri, 28 Jun 2002 16:38:25 -0500, Stephen Clouse
> >>>>> <[EMAIL PROTECTED]> said:
>
> SC> On Fri, Jun 28, 2002 at 01:09:21PM +0100, Peter Haworth wrote:
> >> The GPL doe
ll the details of refreshing cache contents, and updating underlying
data, if necessary.
--
Peter Haworth [EMAIL PROTECTED]
"I don't know what kinds of evil I've done in the past. I don't even want
to know. I just want that evil to carry on having its good effects"
-- Damian Conway on his use of pack/unpack/vec
ges since version 0.01
Fixed serious bug in read(), which didn't update the current bucket content
size when expiring entries. This caused infinite loops in _find() and
_insert(), which have also been fixed, should anything else ever go wrong
in a similar way
--
Peter
ues_as_labels attribute to checkbox_group()/radio_group()/select()
The uploaded file
HTML-StickyForms-0.05.tar.gz
has entered CPAN as
file: $CPAN/authors/id/P/PM/PMH/HTML-StickyForms-0.05.tar.gz
size: 5663 bytes
md5: 18406762bcd4657064ce7f026ee93adb
--
Peter Haworth [EM
Request entered by: PMH (Peter Haworth)
Request entered on: Thu, 07 Jun 2001 17:26:01 GMT
Request completed: Thu, 07 Jun 2001 17:26:57 GMT
Virtually Yours,
Id: paused,v 1.74 2001/05/20 14:59:52 k Exp k
--
Peter Haworth [EMAIL PROTECTED]
`I wouldn't quite call it &quo
f you just care about CGI.pm's "stickiness", my HTML::StickyForms module in
combination with Apache::Request will generate form elements. You'll have to do the
other elements yourself, though.
--
Peter Haworth [EMAIL PROTECTED]
"This seems dangerously close to COBOL,
something difficult to argue in favor of."
-- Tom Christiansen
t;this cache periodically (say every 10 minutes)? Also, this
> >solution should work on any reasonably modern UNIX system
> >(Win32 is not important for now).
> >
> >I couldn't find this anywhere, but if someone tells me where,
> >I'd be happy to RTFM. Ask me
lows cache
entries to be stored manually, with the option of updating the original data
store (writethrough or write-on-demand).
You can find it at $CPAN/authors/id/P/PM/PMH/Cache-Mmap-0.01.tar.gz
I'm giving a talk about the module at yapc::Europe this weekend.
--
Peter Haworth [EMAI
arded Message ---
From: [EMAIL PROTECTED]
To: "Peter Haworth" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Sent: Wed, 30 Aug 2000 12:05:14 +0200
Subject: CPAN Upload: P/PM/PMH/HTML-StickyForms-0.03.tar.gz
The uploaded file
HTML-StickyForms-0.03.tar.gz
has entered CPAN as
file:
--
The uploaded file
HTML-StickyForms-0.02.tar.gz
has entered CPAN as
file: $CPAN/authors/id/P/PM/PMH/HTML-StickyForms-0.02.tar.gz
size: 4716 bytes
md5: c2c216faba385af3186a3e5d83923700
No action is required on your part
Request entered by: PMH (Peter Haworth)
Request entered on: Tue, 27
utting them in a hash:
sub function_2{
my @array=param('This_Param');
my %params;
foreach(@array){
@{$params{$_}}=param($_);
}
# Now, instead of print @whatever, do this:
print @{$params{whatever}};
}
--
Peter Haworth [EMAIL PROTECTED]
"C++ gives me the willies. Physical willies. I take medication for it."
-- Kurt Starsinic on p6p
rver, the browser
just sends the request *without* asking for a username, repeatedly, until I hit
STOP. This never happens when using the fully qualified server name.
Something else about authen handlers confuses me: does $r->get_basic_auth_pw
call $r->note_basic_auth_failure when it returns AUT
to new() can be one of: an Apache::Request (or subclass) instance,
a CGI (or subclass) instance (CGI 2.x, 3.x), a CGI::State (or subclass)
instance (CGI 3.x), or you can leave it out completely, in which case, there
won't be any sticky values.
This will all get documented very soo
HTML-StickyForms-0.01.tar.gz
has entered CPAN as
file: $CPAN/authors/id/P/PM/PMH/HTML-StickyForms-0.01.tar.gz
size: 2804 bytes
md5: a52d669328840c0314309d3e615a540a
No action is required on your part
Request entered by: PMH (Peter Haworth)
Request entered on: Thu, 15 Jun 2000 13:49:15 G
On 24-May-00 at 18:50, Jeffrey W. Baker ([EMAIL PROTECTED]) wrote:
> On Wed, 24 May 2000, Peter Haworth wrote:
> > Jeffrey W. Baker wrote:
> > > On Wed, 24 May 2000, Peter Haworth wrote:
> > > > Jeffrey W. Baker wrote:
> > > > > myInput = hfTextI
Jeffrey W. Baker wrote:
> On Wed, 24 May 2000, Peter Haworth wrote:
> > Jeffrey W. Baker wrote:
> > > myInput = hfTextInputNew();
> > > myInput->addAttr(myInput, "name", "first_name");
> > > myInput->addAttr(myInput, &qu
c that won't be duplicated for
> the other types. The implementation is also quite fast, rendering 10
> simple text inputs to /dev/null in .78 seconds, without optimizations.
Sounds good.
> If people think this is the way to go, I will write up a Makefile and
> release
Vivek Khera wrote:
> >>>>> "PH" == Peter Haworth <[EMAIL PROTECTED]> writes:
>
> >>
> >> HTML::Form? :)
>
> PH> Well, duh! Why didn't I think of that? Unfortunately though,
> PH> HTML::Form already exists, and doesn&
brian moseley wrote:
> On Mon, 22 May 2000, Peter Haworth wrote:
> > In light of the non-dependency on mod_perl, the
> > Apache::Request::Form name is also out. I'd still rather
> > not use the CGI::Form name, in case there are any
> > current users whose in
prefer to stick with one style of interface, to keep things small and
simple. Named parameters as above seem most flexible, and allow for unexpected
things like omMouseOver attributes to be added easily. I'm inclined to only
allow method style calls, although I suppose there's nothing wr
::Form (no "s", for
name similarity with CGI::Form) now. It is dependent on Apache::Request, after
all, and reusing the CGI::Form name makes it look more general than it really
is, not to mention any strange version skew effects CPAN.pm might introduce
when people try to install things.
-
Autarch wrote:
> On Wed, 17 May 2000, Peter Haworth wrote:
>
> > Drew Taylor and I are about to write a subclass of Apache::Request which
> > includes form element generation methods, a la CGI.pm. The current
> > favourite name is Apache::Request::Forms, but we'd lik
th feature requests.
--
Peter Haworth [EMAIL PROTECTED]
"We're sorry. The brain you have mailed has been disconnected or is no longer
in service. Please re-check the address and send your message again.
If you feel you have reached this recording in error, JUST STOP CREATI
module.
It's easy enough to write for yourself though. Plus you get to restrict the API
to one style which makes your code much simpler and faster than CGI.pm
--
Peter Haworth [EMAIL PROTECTED]
"Psychos do not explode when sunlight hits them.
I don't give a f**k how crazy
of data in a memory mapped file, which can be shared by an
arbitrary number of processes. Unfortunately, it's not publically available
yet, but I hope to get it released soon.
--
Peter Haworth [EMAIL PROTECTED]
"The warts in a language tend to be more orthogonal than
I have the
socket buffer set to the max allowed 64K (on Solaris), with a 1M application
buffer.
In my opinion, ProxyReceiveBufferSize should be called ProxySocketBufferSize,
leaving the old name free for my new use. This would also remove some of the
confusion about what it actually does.
--
Peter Haworth [EMAIL PROTECTED]
"Save the whales. Feed the hungry. Free the mallocs."
($test_uri,$uri_sub,$sub)=@$_;
if($uri_sub->($uri)){
my $code=$sub->($r,$test_uri);
return $code
if $code!=DECLINED;
}
}
$r->log->error("No handler matching $uri found");
}else{
$r->log->crit('
. It's
fixed in 5.005_62, but you might not want to go to a development version.
Unfortunately, I've never used Apache::Session, so I don't know how you can
avoid the call to croak.
--
Peter Haworth [EMAIL PROTECTED]
"I think that's very legible. If you don't, you need to read more perl."
-- Tom Christiansen
32 matches
Mail list logo