in reply to Bug with dprofpp?

Yes I have. The program is doing something like this:

perl -e '$arr[-1] = "foo"'

update: but see tye's clarification below.

Of course, the question as to why dprofpp is doing that is a very good question indeed. It's not something I have encountered before. Is the tmon.out file tremendously big, or is there something out of the ordinary going on? update to dragonchild's follow-up, tremendously huge is approximately equal to 2Gb. 15Mb tmon.out are pretty standard (at least AFAIAC).

I remember you saying a few hours ago in the CB that Devel::DProf wanted a perl binary with -DDEBUGGING. In my experience this is not necessary, so I would tend to suspect that your installation is a bit whacked.

--
g r i n d e r

Replies are listed 'Best First'.
(tye)Re: Bug with dprofpp?
by tye (Sage) on Oct 17, 2001 at 00:59 UTC

    Just to clarify... $arr[-1]= only gives the noted error if @arr is empty. $arr[-2]= gives a similar error if @arr has fewer than 2 elements, etc.

            - tye (but my friends call me "Tye")
Re: Re: Bug with dprofpp?
by dragonchild (Archbishop) on Oct 17, 2001 at 02:24 UTC
    Yes, my tmon.out file is rather huge, on the order of 15M. But, I would think that this shouldn't be an issue ... should it?

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.