Flash MX and PERL

Is there any possibility that Flash MX and PERl can interact with eah other just like PHP and Flash MX? thanks