ROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, March 07, 2004 11:35 AM
Subject: Re: [PHP-DEV] Perl extension
> Wez Furlong wrote:
>
> >So you totally missed the completely new COM and .Net support in PHP 5 ?
:-)
> >
> >
> >
>
> As far as I've seen t
Wez Furlong wrote:
So you totally missed the completely new COM and .Net support in PHP 5 ? :-)
As far as I've seen the new COM support has yet to allow for setting
properties with arguments and as the equivalent asp syntax is not valid
php syntax I'm pretty sure it would require a new funct
So you totally missed the completely new COM and .Net support in PHP 5 ? :-)
--Wez.
- Original Message -
From: "Daniel Daley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 10:04 PM
Subject: Re: [PHP-DEV] Perl extension
> >
>
Any ideas or suggestions? It would also be cool if people could mess around
with it a bit and give us some feedback.
I already have an instance where this has been extremely useful. My
current project required me to work with some third party com objects. A
couple of them required me to set
On Tue, Mar 02, 2004 at 06:11:04PM +0100, Kai Schröder wrote:
> Simple example:
> In Perl ('a' => 'b', 'c' => 'd') could be an assoc array with 2 elements
> (hash) or a list with 4 elements (array, elements on odd positions are the
> old keys).
IMHO this is done by Perl converting HASH to ARRAY
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,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kai Schröder wrote:
| On Monday 01 March 2004 23:10, Andi Gutmans wrote:
|
|>Hey,
|>As some of you might have noticed, Dmitry worked on a Perl extension which
|>allows PHP to run Perl scripts as well as instantiate Perl objects in PHP
|>and use them.
|
On Monday 01 March 2004 23:10, Andi Gutmans wrote:
> Hey,
> As some of you might have noticed, Dmitry worked on a Perl extension which
> allows PHP to run Perl scripts as well as instantiate Perl objects in PHP
> and use them.
Intresting idea, but I have some questions:
- Should ext/perl "only" br
Yes, but not with plain functions and perl_eval().
perl_call("func", $arg1, $arg2);
Dmitry.
What about perl_eval("func", PERL_CONTEXT_WHATEVER, $arg1, ...)?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> The following could maybe be made to work:
> $x->void->f();
> $x->scalar->f()
> $x->array->f()
>
> Andi
Yes, but not with plain functions and perl_eval().
perl_call("func", $arg1, $arg2);
Dmitry.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.n
At 08:48 AM 3/2/2004 +0100, Piotr Klaban wrote:
On Tue, Mar 02, 2004 at 12:10:51AM +0200, Andi Gutmans wrote:
> $x = new Perl("Test");
> $y = new PerlScalar($x);
The above could generate mistakes.
It is better to use perl_wantarray(something)
or perl_wantarray(); something;.
> Any ideas or suggesti
On Tue, Mar 02, 2004 at 12:10:51AM +0200, Andi Gutmans wrote:
> $x = new Perl("Test");
> $y = new PerlScalar($x);
The above could generate mistakes.
It is better to use perl_wantarray(something)
or perl_wantarray(); something;.
> Any ideas or suggestions? It would also be cool if people could mess
12 matches
Mail list logo