The devnull routine

Combined from primary sources listed below.

In class IO::Spec::Unix ( Type/IO/Spec/Unix )§

See primary docmentation in context for method devnull.

method devnull§

method devnull(--> Str:D)

Returns the string "/dev/null" representing the "Null device":

$*SPEC.devnull.IO.spurt: "foo bar baz";

In class IO::Spec::Win32 ( Type/IO/Spec/Win32 )§

See primary docmentation in context for method devnull.

method devnull§

method devnull(--> Str:D)

Returns the string "nul" representing the "Null device":

$*SPEC.devnull.IO.spurt: "foo bar baz";