Skip to content
This repository
Browse code

[November::Session] fixed $file ~~ :e

It's $file.IO ~~ :e nowadays.
  • Loading branch information...
commit cab63ddded11183ba7a3aa77c5a2191bc4ea386e 1 parent 0d56401
Carl Mäsak authored November 23, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/November/Session.pm
2  lib/November/Session.pm
@@ -17,7 +17,7 @@ method remove_session($id) {
17 17
 }
18 18
 
19 19
 method read_sessions {
20  
-    return {} unless self.sessionfile-path ~~ :e;
  20
+    return {} unless self.sessionfile-path.IO ~~ :e;
21 21
     my $string = slurp( self.sessionfile-path );
22 22
     my $stuff = eval( $string );
23 23
     return $stuff;

0 notes on commit cab63dd

Please sign in to comment.
Something went wrong with that request. Please try again.