| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Movable Type
Revision: 3148
Author: breese
Date: 29 Oct 2008 20:07:02
Changes:added test to see if Text::SimpleTable is installed when the --profile flag is used
Files:| ... | ...@@ -205,7 +205,10 @@ | |
| 205 | 205 | if ($profile_flag) { |
| 206 | 206 | $ENV{DOD_PROFILE} = 1; |
| 207 | 207 | $Data::ObjectDriver::PROFILE = 1; |
| 208 | ||
| 208 | eval "use Text::SimpleTable"; | |
| 209 | if ($@) { | |
| 210 | die "You are missing the Text::SimpleTable perl module which is required when using the --profile flag."; | |
| 211 | } | |
| 209 | 212 | BuildProfiler->install; |
| 210 | 213 | } |
| 211 | 214 |