in reply to How can I create a file named "default.asp?11=1"?

try this :
open WFILE,">default.asp\?11=1" or die "error : $!"; print WFILE "test data"; close WFILE;

Originally posted as a Categorized Answer.