note
rjt
<p>If I understand you correctly, [tobyink]'s reply fits pretty well. One more thing to note, however, is that there already exists a [cpan://log|plethora of Perl logging modules], many of which will probably do what you want.</p>
<p>If you're mainly doing this as a learning exercise, however, then, again, [tobyink] left you some valuable advice.</p>
1002242
1002242