Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
perl [2008/09/26 20:28]
a created
perl [2008/09/26 20:34]
a
Line 1: Line 1:
 +===== Optimizing Perl =====
 +
 +First run the script with profiling enabled:
 +
 +   perl -d:DProf myscript.pl
 +
 +then run the profile-dumper:
 +
 +   dprofpp tmon.out
 +
 +===== Copy (duplicate) a two-dimensional array in Perl =====
 +
 +   @target = map [map $_ = $_, @{$_}], @source;
 +
 ===== CPAN modules fail to compile ===== ===== CPAN modules fail to compile =====
  
perl.txt ยท Last modified: 2009/05/25 00:35 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready