about summary refs log tree commit diff stats
path: root/leo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'leo.pl')
-rwxr-xr-xleo.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/leo.pl b/leo.pl
index 4d7e043..5b7a106 100755
--- a/leo.pl
+++ b/leo.pl
@@ -95,7 +95,7 @@ sub backup {
     my @tmp_paths = $profile{$prof}{backup}->@*;
     while (my $path = shift @tmp_paths) {
         if (-d $path) {
-            my $iter = path($path)->iterator;
+            my $iter = path($path)->iterator();
             while ( my $path = $iter->() ) {
                 push @backup_paths, path( $path )->relative('/')
                     unless $exclude_paths{$path};