SessionFile: vim syntaxhighlighting fix
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 24 Nov 2015 15:32:04 +0000 (16:32 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 24 Nov 2015 15:32:04 +0000 (16:32 +0100)
SL/SessionFile.pm

index 7536b56..8392640 100644 (file)
@@ -26,7 +26,7 @@ sub new {
   }
 
   my $path   = $self->prepare_path;
-  $file_name =~ s:.*/::g;
+  $file_name =~ s{.*/}{}g;
   $file_name =  "${path}/${file_name}";
 
   $self->file_name($file_name);