I'm trying to get a Perl script running in a frame but I don't know if it is even possible.
I am trying to help a college with user uploads for her upcoming conference. I told her I'd just modify a Perl script that I have to do that and she'd be in business. I copied it over to her site and it's been doing its job nicely.
Then I had to try to impress her. The script just does what it's supposed to, but looks so plain with just a line of text, an input field, a browse button and a upload button. I thought maybe I should dress it up to look more like her other pages for continuity, and give the user a way to navigate back after uploading. She has a nifty looking navigation bar and header, and I wondered if I could use those. I started poking around on her home page, and Oh crap! she's using frames. I've been reading up in Dreamweaver 2004 help, trying to remember how frames work, and after a lot of cussing, I at least made a test page with a left frame containing her Nav bar, and a main frame to hold the upload screen. But Dreamweaver doesn't play so nice with Perl. I tried to drop the Perl code in the main window by removing all the html stuff and pasting code in, and also by trying to make the page link to the Perl code. But when viewing the page, the Perl code appears as text. I tried editing in vi to change the html code so the frame src = theperlscript.cgi name ="mainFrame" but it still appears as text. The Perl script bangs the correct path to Perl in the first line.
Is this approach, mixing Perl and frames, even possible?
This signature line intentionally blank.