Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: open output files

by ww (Archbishop)
on Apr 27, 2012 at 19:40 UTC ( [id://967709]=note: print w/replies, xml ) Need Help??


in reply to open output files

"perl to generate files as outputs to test scripts ...(which) are sent all over the network depending on the board assembly and serial number."

I'm not quite clear about this: are the "test scripts" (perhaps non-Perl?) generating output that you're capturing with separate and distinct "perl" scripts and dispatching "all over the network" ... or are the test scripts written in perl (themselves) and using the board assembly and SN to determine where to send them?

Perhaps. OTOH, that's not important. In both cases, it sounds as though you could insert into your perl script a function to tee the output -- with one copy directed to notepad [scathing sarcasm about the juxtaposition of "notepad" and "appropriate" omitted :-)] or some other, more trustworthy text editor, and the other to the existing destination-selection function.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-25 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found