Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] printing from one filehandle to another

Expand Messages
  • merlyn@stonehenge.com
    ... Noah open COMMUNITY,
    Message 1 of 2 , Sep 5, 2006
      >>>>> "Noah" == Noah <admin2@...> writes:

      Noah> open COMMUNITY, "<it" || die "Failed to open $old_file: $!";

      Noah> print COMMUNITY "$_";

      Those two don't make sense. If you're opening for input, you can't
      write for output.

      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    Your message has been successfully submitted and would be delivered to recipients shortly.