Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Usage of File::Spec->devnull() on Windows

by tobyink (Abbot)
on Jul 30, 2012 at 16:27 UTC ( #984475=note: print w/ replies, xml ) Need Help??


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'


Comment on Re: Usage of File::Spec->devnull() on Windows
Select or Download Code
Replies are listed 'Best First'.
Re^2: Usage of File::Spec->devnull() on Windows
by chazubell (Sexton) on Aug 02, 2012 at 16:28 UTC
    Thanks. To all. I will try writing to a file handle.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984475]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2016-02-14 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (470 votes), past polls