<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Tiger,<br>
    <br>
    Does the solution have to be in Perl?<br>
    <br>
    If you're on a *NIX platform, you might consider strace or truss to
    track the system calls you want at the OS level.<br>
    <br>
    &nbsp; - Brian<br>
    <br>
    On 2010-10-19 11:41, tiger peng wrote:
    <blockquote cite="mid:784754.19176.qm@web120520.mail.ne1.yahoo.com"
      type="cite">
      <style type="text/css"><!-- DIV {margin:0px;} --></style>
      <div style="font-family: arial,helvetica,sans-serif; font-size:
        10pt; color: rgb(0, 0, 191);">
        <div>Hello all,<br>
          <br>
          Does anyone have the experience on tracing input/output files
          used by Perl script?<br>
          <br>
          I am think if there is anyway to over write the build-in open
          function, so the new open function can log the file name, IO
          type (R, W, or RW), as well as the open/close timestamp. Any
          suggestion is highly appreciated. <br>
          <br>
          Thanks,<br>
          Tiger<br>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Chicago-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org</a>
<a class="moz-txt-link-freetext" href="http://mail.pm.org/mailman/listinfo/chicago-talk">http://mail.pm.org/mailman/listinfo/chicago-talk</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Brian Katzung, Kappa Computer Solutions, LLC
Leveraging UNIX, GNU/Linux, open source, and custom
software solutions for business and beyond
Phone: 877.367.8837 x1  <a class="moz-txt-link-freetext" href="http://www.kappacs.com">http://www.kappacs.com</a></pre>
  </body>
</html>