On Jan 31, 2008 12:08 PM, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:
> I made the changes you suggested and re-ran it. The program just comes > back to a prompt. No warnings, no nothing, and still no data in the > gzip'd file! No warnings? Hmmmm.... Are you sure your program actually ran the new code? That should have generated at least one warning. Is there any chance you've redirected or closed the STDERR filehandle? You can always add a line like this during development, if you need to be sure the new code is being reached and that warnings are showing up: warn "Yes; execution does reach this point"; > Your code, though, prompts a question on syntax. In 2 places you specify > an underscore without a '$' in front of it. That's the special underscore filehandle that's used in stat() and filetests. Briefly, it means "the same file as we just tested", but without going back to the OS to ask again. http://perldoc.perl.org/functions/-X.html Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/