diff options
Diffstat (limited to 'lib/File/Spec/Unix.pm')
-rw-r--r-- | lib/File/Spec/Unix.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/File/Spec/Unix.pm b/lib/File/Spec/Unix.pm index 77de73a216..ae3546eb68 100644 --- a/lib/File/Spec/Unix.pm +++ b/lib/File/Spec/Unix.pm @@ -105,6 +105,16 @@ sub curdir { return "." ; } +=item devnull + +Returns the name of the null device (bit bucket). "/dev/null" on UNIX. + +=cut + +sub devnull { + return "/dev/null"; +} + =item rootdir Returns a string representing of the root directory. "/" on UNIX. |