Skip to content

Commit

Permalink
s/Str/IO::Path/ as spotted by pmichaud++
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Oct 28, 2014
1 parent 2133dd1 commit 9b61e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S16-io.pod
Expand Up @@ -247,8 +247,8 @@ An overview:

$handle = open($path) # open a file, return IO::Handle

@paths = dir # paths (as Str) in $*CWD
@paths = dir($dir) # paths (as Str) in $dir
@paths = dir # paths (as IO::Path) in $*CWD
@paths = dir($dir) # paths (as IO::Path) in $dir

$contents = slurp($handle) # read all that's left of an opened filehandle
$contents = slurp($filename) # read all from given filename
Expand Down

0 comments on commit 9b61e9b

Please sign in to comment.