Err -- hold your horses, there. It isn't the exact same question. CGI::Application is a whole nother ball game than just plane ole CGI.pm. The problem you had, and both of the solutions which were given to you, are CGI::Application specific. Both solutions use the header_props method on CGI::Application, which does not exist in CGI.pm. Do not be so quick to assume that your question is identical to others'.
As a side note, it's generally curtious to use the [id://130409|some node] format when giving links to other places in the Monastery, so as to not inadvertantly log out other monks.
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
|