Hi, im using perl modules in php. not able to pass variables to it nor can access variables from the modules. If any one could help me out in solving out this issue would do me a greater favour.......

I have written this code

Code:
<?php
    	
	$perl = new Perl();
	$perl->eval("BEGIN {unshift( @INC, '/opt/otrs/Kernel/Modules'); }");
	$perl->eval("BEGIN {unshift( @INC, '/opt/otrs/Kernel/System'); }");
	$perl->require('opt::otrs::Kernel::System::Web::InterfaceCustomer;');
	//$perl->eval('InterfaceCustomer->new(Debug => $Debug, WebRequest => $WebRequest);');
	//$Interface=opt::otrs::Kernel::System::Web::InterfaceCustomer->new(Debug => $Debug, WebRequest => $WebRequest);
	$p = new Perl("InterfaceCustomer");
	$ar = array($p->{ParamObject}->GetParam('Param' => $Entry->[1] ));
	//var_dump($p);
	print "$ar[0]";
?>

and im gettin this error

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /var/www/mohan/t4.php on line 10


Thanking you in advance