Skip to content

Commit

Permalink
Convert foo; to foo {}
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Aug 28, 2012
1 parent 68fe753 commit 7549ac8
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion src/Partcl/commands/array.pm
Expand Up @@ -2,7 +2,7 @@ our sub array(*@args) {
Array::dispatch_command(|@args);
}

module Array;
module Array {

our %Arg_limits;
our %Array_funcs;
Expand Down Expand Up @@ -199,4 +199,6 @@ my sub unset($arrayName, $array, $pattern = '*') {
'';
}
}
# vim: expandtab shiftwidth=4 ft=perl6:
4 changes: 3 additions & 1 deletion src/Partcl/commands/dict.pm
Expand Up @@ -2,7 +2,7 @@ our sub dict(*@args) {
Dict::dispatch_command(|@args);
}

module Dict;
module Dict {

our %Arg_limits;
our %funcs;
Expand Down Expand Up @@ -168,4 +168,6 @@ sub with (*@args) {
'';
}

}

# vim: expandtab shiftwidth=4 ft=perl6:
4 changes: 3 additions & 1 deletion src/Partcl/commands/file.pm
Expand Up @@ -2,7 +2,7 @@ our sub file(*@args) {
File::dispatch_command(|@args);
}

module File;
module File {

our %Arg_limits;
our %funcs;
Expand Down Expand Up @@ -262,4 +262,6 @@ my sub writable(*@args) {
''
}

}

# vim: expandtab shiftwidth=4 ft=perl6:
4 changes: 3 additions & 1 deletion src/Partcl/commands/info.pm
Expand Up @@ -2,7 +2,7 @@ our sub info(*@args) {
Info::dispatch_command(|@args);
}

module Info;
module Info {

our %Arg_limits;
our %Info_funcs;
Expand Down Expand Up @@ -243,4 +243,6 @@ my sub vars($pattern = '*') {
@result;
}

}

# vim: expandtab shiftwidth=4 ft=perl6:
4 changes: 3 additions & 1 deletion src/Partcl/commands/namespace.pm
Expand Up @@ -2,7 +2,7 @@ our sub namespace(*@args) {
Namespace::dispatch_command(|@args);
}

module Namespace;
module Namespace {

our %Arg_limits;
our %funcs;
Expand Down Expand Up @@ -277,4 +277,6 @@ my sub getNamespace(int :$depth=0) {
return $ns;
}

}

# vim: expandtab shiftwidth=4 ft=perl6:
4 changes: 3 additions & 1 deletion src/Partcl/commands/string.pm
Expand Up @@ -2,7 +2,7 @@ our sub string(*@args) {
String::dispatch_command(|@args);
}

module String;
module String {

our %Arg_limits;
our %CCLASS;
Expand Down Expand Up @@ -544,4 +544,6 @@ my sub wordstart($string, $index) {
++$index;
}

}

# vim: expandtab shiftwidth=4 ft=perl6:

0 comments on commit 7549ac8

Please sign in to comment.