The first case definitely seems to be a bug with DProf. However, the second case does not seem to be a bug with perl since you are passing by value and the original @_ still contains 0 after the recursive call to parse has finished.
Hope this helps.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: Bug in Devel::DProf?
by antirice
in thread Bug in Devel::DProf?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |