Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ufo] chased Rakudo change
'file' ~~ :e et al are now spelled 'file'.IO ~~ :e. Please update your
mental VMs.
  • Loading branch information
Carl Masak committed Jul 18, 2010
1 parent 7bfc0a2 commit f3e6cdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ufo
Expand Up @@ -77,11 +77,11 @@ sub MAIN($filename = 'Makefile', Bool :$alpha) {
}

sub get_sources() {
if 'lib' !~~ :e {
if 'lib'.IO !~~ :e {
note "lib/ doesn't exist. Nothing to do.";
exit 1;
}
elsif 'lib' !~~ :d {
elsif 'lib'.IO !~~ :d {
note "lib isn't a directory. Nothing to do.";
exit 1;
}
Expand Down Expand Up @@ -150,7 +150,7 @@ sub path-to-module-name($path) {

sub module-name-to-path($module-name) {
my $pm = 'lib/' ~ $module-name.subst('::', '/', :g) ~ '.pm';
$pm ~~ :e ?? $pm !! $pm ~ '6';
$pm.IO ~~ :e ?? $pm !! $pm ~ '6';
}

# According to "Introduction to Algorithms" by Cormen et al., topological
Expand Down

0 comments on commit f3e6cdd

Please sign in to comment.