PHP with Perl?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
jiehuang001
Forum Commoner
Posts: 39
Joined: Mon May 12, 2003 12:53 pm

PHP with Perl?

Post by jiehuang001 »

I heard that PHP syntax is very similar as Perl. Is that true? If yes, can Perl function be called from PHP without modification? I have some Perl functions that need to be integrated into webpage. Can Perl also be used to write dynamic webpage? What is the requirement?

Thanks.

Jie Huang
User avatar
daven
Forum Contributor
Posts: 332
Joined: Tue Dec 17, 2002 1:29 pm
Location: Gaithersburg, MD
Contact:

Post by daven »

PHP is similar to PERL, but they are not interchangeable. You can execute PERL functions from within PHP, via the shell_exec(), exec(), or backtick (`) operators.

You can use PERL to write dynamic webpages by employing either mod_perl or CGI functionality.
Post Reply