Okay you're probably fed up with me now, but just tried this... maybe it will satisfy your requirements. I saved the perl script to a file called testpl.
You can get a filename (in csh - my shell of choice) with
set myfile = `./testpl | sed 's/ //g' | cut -c 4-8,17-`
This runs the perl script to get yesterday's date, the sed command gets rid of the spaces, and the cut command picks out the info you want (Month, Day, Year).
(if this doesn't work quite right, try messing with the cust parameters as I had to do this on a Linux box at work - no perl on the sun box at my desk - doh!)
use the myfile variable however you need to.
Hope this helps, and I'll shut my big trap now! I was just bored on night shift!
Mark