Changeset 10637
- Timestamp:
- 02/09/10 02:47:06 (7 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre-Plugin-NYTProf/lib/Padre/Plugin/NYTProf.pm
r10636 r10637 69 69 $prof_settings{doc_path} = Padre::Current->document->filename; 70 70 $prof_settings{temp_dir} = File::Temp::tempdir; 71 $prof_settings{perl} = Padre ->perl_interpreter;71 $prof_settings{perl} = Padre::Perl->perl; 72 72 $prof_settings{report_file} = $prof_settings{temp_dir} . "/nytprof.out"; 73 73 my $prof_task = Padre::Plugin::NYTProf::ProfilingTask->new(\%prof_settings); … … 86 86 #my $bin_path = $prof_settings{perl}; 87 87 #$bin_path =~ dirname( $bin_path); #s/[^\\\/](perl.*$)//i; 88 89 # TODO the path to nytprofhtml has changed to /usr/local/bin 90 # I'm not sure if this is due to the way I installed it or 91 # if this is a change with the install location with nytprof. 92 # so this needs to be done better. 88 93 89 94 my( $fname, $bin_path, $suffix ) = File::Basename::fileparse( $prof_settings{perl} );
