Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Here is my tilly story.

I was working on a program recently that had a most peculiar bug. It was writing information to a logfile, and the logfile would remain empty. At first I suspected that IO::Tee was at fault (or, more specifically, the way I was using it was at fault).

Out of desperation, I wrote a little script showing how I was using it, and I posted it the other day. I didn't really expect much to come of it. I got a couple of helpful responses, and then, three days later, tilly posted a follow-up that nailed the problem on the head.

At the end of the program, I had to call an external program to finish off the processing. I didn't see the need to use system, because error checking of that external program is handled in another way. So I just execed the program in place. At that is what was causing my logfile to go empty. I was pulling the rug from under the script before it had a chance to close the file properly.

Time and again, I am amazed by the breadth and depth of tilly's knowledge. We have had retirement announcements from people in the past. Some have come back. Others have not.

Ben, if you have to leave, I will miss you.


print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'

In reply to Re: Professional Employees and Works for Hire by grinder
in thread Professional Employees and Works for Hire by tilly

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-16 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found