Skip to content

Commit

Permalink
add a note about C<delete> vs. C<unlink>
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance authored and chromatic committed Nov 14, 2011
1 parent 069f547 commit 6fb65ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sections/files.pod
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@ X<files; deleting>

There's no core builtin to copy a file, but the core C<File::Copy> module
provides both C<copy()> and C<move()> functions. Use the C<unlink> builtin to
remove one or more files. These functions and builtins all return true values
remove one or more files. (The C<delete> builtin deletes an element from a hash, not a file from the filesystem.)
These functions and builtins all return true values
on success and set C<$!> on error.

=begin sidebar
Expand Down

0 comments on commit 6fb65ba

Please sign in to comment.