PDA

View Full Version : Flash and Perl help needed


jprugh
02-02-2003, 08:14 PM
Hi,

I'm trying to set up a simple test with flash and Perl. Sadly, my Perl knowledge is slim to none.

I want to click a button in flash that calls a perl script with the loadVariables command.

Then I want to grab a variable from the perl script and write it to a dynamic text box in flash.

I don't need to send any variables from flash to the perl script.

Thanks in advance for any help.

JP

freddycodes
02-03-2003, 01:04 AM
Pretty much all you need is


#!/usr/local/bin/perl
print "Content-type: text/plain\n\n";
print "&myVar=what up";


Where /usr/local/bin/perl is the path to your perl interpreter. If you don't know this ask your host.