http://www.perlmonks.org?node_id=986878


in reply to Passing php variables to a perl script

I have heard of an Apache-specific feature called "notes"/"pnotes". Supposedly you can pass not only session variables, but any variable you'd like.
Of course, you must use mod_perl(2.0, I think it was) and mod_php, and you can't change servers later, or it won't work anymore.

Otherwise, use the command line, a database, temporary files, or whatever works out best for you.

~Thomas~
confess( "I offer no guarantees on my code." );