M
Michael W. Cocke
This is probably incredibly obvious, but I'm just not getting it. I
need to accept an arg (I don't care if it's from getopt or @ARGV).
and I need to be able to print to STDOUT. So far, so good. If I try
to redirect STDOUT to a file (>test.out), the program doesn't output
anything at all (I cannot even tell if it's executing) . If I don't
take the arg from the command line, the STDOUT redirect works fine.
How do I manage both?
Thanks!
Mike-
Mornings: Evolution in action. Only the grumpy will survive.
-----------------------------------------------------
Please note - Due to the intense volume of spam, we have
installed site-wide spam filters at catherders.com. If
email from you bounces, try non-HTML, non-encoded,
non-attachments.
need to accept an arg (I don't care if it's from getopt or @ARGV).
and I need to be able to print to STDOUT. So far, so good. If I try
to redirect STDOUT to a file (>test.out), the program doesn't output
anything at all (I cannot even tell if it's executing) . If I don't
take the arg from the command line, the STDOUT redirect works fine.
How do I manage both?
Thanks!
Mike-
Mornings: Evolution in action. Only the grumpy will survive.
-----------------------------------------------------
Please note - Due to the intense volume of spam, we have
installed site-wide spam filters at catherders.com. If
email from you bounces, try non-HTML, non-encoded,
non-attachments.