[Melbourne-pm] Fw: Just how much does $& slow things down?

Matt Koscica matt.koscica at gmail.com
Thu Nov 20 20:56:08 PST 2008

Not to seem contradictory, but Devel::NYTProf is a much better choice -
DProf should've been deprecated about 10 years ago.

See Tim Bunce's blog or OSCON talk for some more info:


On Fri, Nov 21, 2008 at 2:57 PM, <benjamin.j.hayes at exxonmobil.com> wrote:

> You could try DProf. It will give you a breakdown of where time is spent in
> your program. It may not give you the level of detail you need in this case
> as it gives you statistics at the subroutine level, but it might be
> enlightening nonetheless, particularly if you use it to compare different
> ways of doing things (ie compare your script using $& with a version using
> ${^MATCH}). There's a useful article here:
> http://www.perl.com/pub/a/2004/06/25/profiling.html
> Regards
> Ben Hayes
> Onsite Application Support Coordinator
> ExxonMobil Technical Computing Company / Upstream IT
> Upstream Technical Computing / UTC Applications / Application & Data
> Integration
> Esso Australia Pty Ltd
> Room 5.59, 12 Riverside Quay, Southbank, VIC 3006, Australia
> Phone: +61-3-9270-3538 Fax: +61-3-9270-3600  E-mail:
> benjamin.j.hayes at exxonmobil.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20081121/a9e28ba1/attachment.html>

More information about the Melbourne-pm mailing list