On 2004-04-28, Ron Savage [EMAIL PROTECTED] wrote:
On Tue, 27 Apr 2004 07:54:50 -0400, Kinyon, Rob wrote:
Hi Rob
1) You will want to do that kind of checking when you are handed the
object in your constructor. So, you'll have to compile a list of
methods
the object will need to handle.
On Wed, 28 Apr 2004 20:18:02 + (UTC), Mark Stosberg wrote:
Hi Mark
As a shorter term solution, would about having a function like:
test_for_CGI_compatibility()
In it, do something basic with 'param' and 'cookie'. Then,
just eval the executation of this test to see if it dies, or
returns
While you are correct that the -better- solution is to rely on can(),
this still isn't a very good solution. There's two problems I can see
off the bat:
1) You will want to do that kind of checking when you are handed the
object in your constructor. So, you'll have to compile a list of methods