Perl script using Inline-octave doesn't run.
| From: | Paulo Lagrotta | Date: | Sat, 31 Jan 2004 20:22:41 +0000 |
| Subject: | Perl script using Inline-octave doesn't run. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176469@lists.php.net to get a copy of this message | ||
Hello all,
I'm trying start a perl script from PHP but I'm not getting success.
This script is calling the Inline-octave module (see below an example) to
do some numeric calculus.
The script is started but it doesn't finish. I think that the process is
being killed when the Inline-octave module is called.
Any ideas to solve this problem?
Thanks in advance,
Paulo R. Lagrotta
#### Perl Script #####
#!/usr/bin/perl
use strict;
use Test;
BEGIN
{
plan tests =>1;
}
use Inline Octave => q{
function x=jnk1(u); x=u+1; endfunction
};
my $v= jnk1(3)->disp();
chomp ($v);
ok( $v, "4" );
print "$v\n";