Re: Perl extension
| From: | Kai Schröder | Date: | Tue, 02 Mar 2004 19:00:36 +0000 |
| Subject: | Re: Perl extension | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8316@lists.php.net to get a copy of this message | ||
On Tuesday 02 March 2004 18:45, Petras Kudaras wrote:
> Well, Perl itself does not differentiate from "CPAN modules" or "any other
> modules". Once you can load Perl modules and use the functions (or methods,
> for that matter), you can use any Perl code, and you are not restricted to
> CPAN.
Yes, I know, but the mail from Andy sounds like "only" write a wraper that can
create instances of Perl objects, call the methods and bring back the result
to PHP.
> Parrot is a year or so from the final release. However, even so, Sterling
> started implementing PHP in Parrot and not the other way round. I thought
> PHP6 would have Parrot as its platform? :)
This would be great, we'll see in this decade. ;)
> I was half hoping that PHP5's __get() and __set() methods could provide a
> similar capability when I first read about them, but I have been
> dissapointed :/
No, to marriage Perl and PHP is more than some macro magic. :(
> There are more: filehandles, dirhandles, & for subs and * for globs.
Right, but let first find solutions for the "primitive" problems, before we
think about real problems.
Regards, Kai