Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Str has moved under Type - fix docs and example better
  • Loading branch information
stmuk committed Jul 26, 2014
1 parent de171af commit a869400
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README
Expand Up @@ -4,11 +4,11 @@ A HTML version of this documenation can be found at http://doc.perl6.org/

With a Rakudo 'perl6' executable in PATH, try

./bin/p6doc Type/Str
./bin/p6doc Type::Str

to see the documentation for class Str, or

./bin/p6doc Type/Str.split
./bin/p6doc Type::Str.split

to see the documentation for method split in class Str

Expand Down
4 changes: 2 additions & 2 deletions bin/p6doc
Expand Up @@ -63,8 +63,8 @@ sub show-docs(Str $path, :$section) {

multi sub MAIN() {
say 'What documentation do you want to read?';
say "Examples: $*PROGRAM_NAME Type/Str";
say " $*PROGRAM_NAME Type/Str.split";
say "Examples: $*PROGRAM_NAME Type::Str";
say " $*PROGRAM_NAME Type::Str.split";
}

multi sub MAIN($docee) {
Expand Down

0 comments on commit a869400

Please sign in to comment.