Re: cvs: pecl /perl README php_perl.c /perl/tests perl002.phpt perl007.phpt perl019.phpt perl020.phpt perl070.phpt
| From: | Derick Rethans | Date: | Thu, 11 Mar 2004 10:37:50 +0000 |
| Subject: | Re: cvs: pecl /perl README php_perl.c /perl/tests perl002.phpt perl007.phpt perl019.phpt perl020.phpt perl070.phpt | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.cvs |
| Request: | Send a blank email to pecl-cvs+get-1060@lists.php.net to get a copy of this message | ||
On Thu, 11 Mar 2004, Andi Gutmans wrote:
> a) The Perl extension is written mostly as OOP (due to problems with with
> return values).
Ah, I see :)
> b) As you can't "return" an error as a value (because it could be a valid
> value) you pretty much have to throw an exception. Otherwise, you'd have to
> return something like a PerlError object and that's kind of sucky.
Yup, pear does it this sucky way :)
Derick