Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#9229 closed defect (Fixed)
wunderground-maps.pl fails if logdir does not exist. Needs use File::Path;
Reported by: | anonymous | Owned by: | beirdo |
---|---|---|---|
Priority: | minor | Milestone: | 0.24.1 |
Component: | Plugin - MythWeather | Version: | 0.24-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
fails if logdir does not exist with Undefined subroutine &main::mkpath called at ./wunderground-maps.pl line 35.
if (!-d $logdir) {
mkpath( $logdir, {mode => 0755} );
}
mkpath is not included. To fix need to add use File::Path;
e.g. use File::Path; use File::Basename; use Cwd 'abs_path';
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [27234]) Added File::Path to the modules loaded
Fixes #9229