And for me this looks much like a PHP question, not a perl one.
In reply to Re: Using Perl Code from PHP by moritz in thread Using Perl Code from PHP by andreas1234567