Hi, I'm trying to maintain an update a crufty Perl CGI I've inherited, and it has one behaviour which is really baffling me.
When I run the CGI I'm getting what looks like Perl internals printed to Apache's error_log.
e.g.
SV = RV(0x87a4af0) at 0xbffff530
REFCNT = 1
FLAGS = (ROK,READONLY)
RV = 0x87f86a0
SV = RV(0x87a4b3c) at 0x87f876c
REFCNT = 1
FLAGS = (ROK)
RV = 0x87f8778
SV = RV(0x88001c0) at 0xbffff2b0
REFCNT = 1
FLAGS = (ROK,READONLY)
RV = 0x87f8778
I have no idea why it is doing this. It doesn't seem to be effecting the application, but it is bugging me not to understand it.
Apache is a simple httpd, no mod_perl. The CGI uses DBI, and a few other modules, but nothing all that interesting. I'm not using Devel::Peak or something else that would make me expect to see Perl guts.
Any ideas?
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.