in reply to Re: Issue in printing content type in XML
in thread Issue in printing content type in XML

The issue is "application/pdf" is coming from database so
this can be any value so is there anything wrong with the
perl code?
  • Comment on Re^2: Issue in printing content type in XML

Replies are listed 'Best First'.
Re^3: Issue in printing content type in XML
by Corion (Patriarch) on Sep 13, 2010 at 12:10 UTC

    Most likely what you are reading "from the database" is not what you are handing to ->_tagChar(). Debug your code or post the relevant section of your code or, even better, a self-contained program that is shorter than 20 lines and still has the problem.

Re^3: Issue in printing content type in XML
by ww (Archbishop) on Sep 13, 2010 at 20:07 UTC

    As davies asked, could the problem be with

    $cContent = "applciation/pdf";
                    ///\              ?