Same results on 5.12.0. Also, Devel::Profile, Devel::DProfLB and Devel::NYTProf do not modify result, only Devel::DProf. On Thu Feb 14 10:01:13 2002, tim@srl.caltech.edu wrote: > Subroutines meant to massage a callers @_ are prevented from doing so > when instrumented with DProf. Thus: > > % perl -le 'sub foo { shift; } sub bar { &foo; print "@_" } bar(1,2);' > 2 > % perl -d:DProf -le 'sub foo { shift; } sub bar { &foo; print "@_" } > bar(1,2);' > 1 2 > > Runs normally under the debugger: > > % perl -dle 'sub foo { shift; } sub bar { &foo; print "@_" } > bar(1,2);' > [blah blah blah] > DB<1> r > 2 -- Alexandr Ciornii, http://chorny.netThread Previous