Hi,
I am trying to install php interpreter so that I can call a perl script
from with in a php file. I tried to install PHP interpreter from CPAN
module but haven't been able to call a perl script from php file. The error
I get when I try to call perl from PHP is : class Perl not set.
Could you po
Hi Uday
PHP is not on CPAN.
Install it from somewhere like http://au2.php.net/downloads.php
On 30/03/15 04:04, Uday Shankar Kintali wrote:
Hi,
I am trying to install php interpreter so that I can call a perl script
from with in a php file. I tried to install PHP interpreter from CPAN
module bu
Hi Uday
Hmm. Interesting.
Did you write/copy a series of tiny/small test programs, to determine if
PHP::Interpreter actually runs? This is all before trying to use it in a
real piece of code.
On 30/03/15 10:39, Uday Shankar Kintali wrote:
Thank you for the message, Sir.
I have php installe
Hi Uday
PHP::Interpreter needs someone to fix all its bugs before it can be
installed under Perl 5.20.2.
Install the Perl module Module::Version, and run:
mversion PHP::Interpreter
And install Module::Path, and run:
mpath PHP::Interpreter
I suspect you'll find PHP::Interpreter
Hi Uday
System is good, but you're much better off using Capture::Tiny with a
try block managed by Try::Tiny.
Lastly, please refer to https://www.perl.org/ for better way to discuss
these issues.
Over and out :-).
On 30/03/15 13:34, Uday Shankar Kintali wrote:
Okay, in that case I will go
Okay, in that case I will go with something other than php::interpreter. I
found a function called system to call the perl script from php code and it
does call the perl script, what I am looking for is the form in php page
passes some parameters ( options which are selected by the user on php
pag
I did try just to write use PHP::Interpreter inside a perl code and then
call that script inside php code, that failed .
That means there was a problem with the PHP::Interpreter, I looked around a
lot, but not many things are helpful.
On Sun, Mar 29, 2015 at 5:00 PM, Ron Savage wrote:
> Hi Uday
Thank you for the message, Sir.
I have php installed on the server to which I am connecting. The issue is
to call a perl script from PHP code.
For this, I read that installing PHP interpreter from CPAN module will be
helpful. I installed it and then tried to instantiate using 1.
code. I took re
On Mon, Mar 30, 2015 at 02:01:25PM +1100, Ron Savage wrote:
> Hi Uday
>
> System is good, but you're much better off using Capture::Tiny with
> a try block managed by Try::Tiny.
>
> Lastly, please refer to https://www.perl.org/ for better way to
> discuss these issues.
>From the first message in
Tony, yeah PHP::Interpreter was wrong. I am now looking at system function,
using this I am able to call perl script. Looking if I can pass on the user
selected values ( in php form) to the perl script.
On Sun, Mar 29, 2015 at 8:20 PM, Tony Cook wrote:
> On Mon, Mar 30, 2015 at 02:01:25PM +1100,
10 matches
Mail list logo