perl -d:nytprof foo.pl
./nytprofhmtl --open #to generate the html output and open the index file)