Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Using XML::Writer, how can I output to a file AND to the console?

by aitap (Deacon)
on Dec 13, 2012 at 22:37 UTC ( #1008738=note: print w/ replies, xml ) Need Help??


in reply to Using XML::Writer, how can I output to a file AND to the console?

Use PerlIO::tee, IO::Tee or tee sub from Capture::Tiny.

Sorry if my advice was wrong.


Comment on Re: Using XML::Writer, how can I output to a file AND to the console?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2015-07-03 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls