Then you have a severely messed up installation of HTTP::Recorder. I would suggest looking at the code for it to see if anything obvious is wrong. (The command perldoc -m HTTP::Recorder should give you the relevant code.) The most obvious thing to look for is whether something is keeping the last =cut before sub file from being read properly by Perl. (The most likely explanation is that someone edited it by hand somehow and messed it up.)

In the unlikely event that no other explanation is available, if I was to really reach, I'd guess that you have a Windows file that is being read under *nix and a \r\n stops Perl from properly reading an =cut. However I'd be rather surprised if that was the real answer since I've never heard of anyone having bugs like that. Then again I haven't tried to keep track and wouldn't necessarily have heard of such problems if they existed. (I do not personally use Windows and I haven't been very active in the Perl community in recent years.)


In reply to Re: problem with http::recorder by tilly
in thread problem with http::recorder by hsn22

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.