Hi

 

I have a problem using the pathref in offline mode – works perfectly online, however seems its not valid – any ideas ?

 

Am using Embperl 2.0.rc3 (Installed using Debian Apt-get)

 

Example Input File

 

[-

$doc_root = "/var/";

use Data::Dumper;

$pathref = $epreq -> config -> path;

print STDERR "PATHREF ".Dumper($pathref);

-]

 

Executing Script

 

#!/usr/bin/perl -w

 

use strict;

 

 

use Embperl;

 

my @data;

my @errors;

$/ = undef;

open(F, '< /var/website/data/email.epl');

my $ip = <F>;

close F;

my $msg = '1';

my $output;

 

Embperl::Execute({

                          inputfile => "/tmp/$msg".$$,

                          path => '/var/website/',

                          mtime => 100,

                          input => \$ip,

                          param => [EMAIL PROTECTED],

                          errors => [EMAIL PROTECTED],

                          output => \$output,                       

                         });

 

Output

 

[4350]ERR:  32:  Warning in Perl code: cannot handle ref type 115 at /usr/lib/perl/5.8/Data/Dumper.pm line 167.

PATHREF $VAR1 = ;

 

 

 

T   :   020 7617 7773 

M  :   07985969732

 


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.14/129 - Release Date: 11/10/2005

Reply via email to