Cookies are cookies. The standard is defined by the W3C, not by the programming language, and cookied information is equally available whether you're running PHP, Perl, C, or whatever.
Unless your Perl program does something ugly with the data, such as encrypting it, you should not have any difficulty retrieving it with PHP.