See Data::Dump.
In reply to Re^3: Getting a list of captures in Perl 5.10 (pp?) by BrowserUk in thread Getting a list of captures in Perl 5.10 by amir_e_a