in reply to Usage of File::Spec->devnull() on Windows
Hmmm... interesting.
Sorry I don't have the answer, but I can offer a workaround. Archive::Zip supports writeToFileHandle as an alternative to writeToFileNamed. You can probably pass it something other than a real filehandle, like maybe an IO::Null object.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Seekers of Perl Wisdom