Changeset 448
- Timestamp:
- 04/01/06 04:10:39
- Files:
-
- trunk/plagger/lib/Plagger/Cache.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Cache.pm
r368 r448 1 1 package Plagger::Cache; 2 2 use strict; 3 use File::Path; 3 4 use File::Spec; 4 5 use HTTP::Cookies; … … 33 34 sub path_to { 34 35 my($self, @path) = @_; 36 if (@path > 1) { 37 my @chunk = @path[0..$#path-1]; 38 mkpath(File::Spec->catfile(@chunk), 0, 0700); 39 } 35 40 File::Spec->catfile($self->{base}, @path); 36 41 }
