The Biggest problem that we have here is that the context of a perl variable is totally different than CF. Like if you pass a scalar variable CF would be looking for a int or a string.
You might be able to work this out though,
Make a CGI page that handles your varible and does whatever.. Then pass that variable to a CF page and try to assign it to a variable using the <CFSET> tag.
I dont think its possible to do this on one single page because Perl reconizes its own extentions(CGI, PM) When CF only uses .cfm
hope this answers your question
ChiefJoseph