In IO::Spec::Win32§

See primary documentation in context for method devnull

method devnull(--> Str:D)

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

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

In IO::Spec::Unix§

See primary documentation in context for method devnull

method devnull(--> Str:D)

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

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