http://qs321.pair.com?node_id=752663


in reply to Re^2: IO::Tee problem (Well, problem with my brain, anyway)
in thread IO::Tee problem (Well, problem with my brain, anyway)

Why do you want to echo your input back to your input file?
  • Comment on Re^3: IO::Tee problem (Well, problem with my brain, anyway)

Replies are listed 'Best First'.
Re^4: IO::Tee problem (Well, problem with my brain, anyway)
by pobocks (Chaplain) on Mar 23, 2009 at 17:45 UTC

    I was testing a statement made in Intermediate Perl; I don't really have a concrete use in mind. Right now, my main goal is to find out why it's doubling the output, so I can know how it works (and what I'm missing/doing wrong, assuming it's not an oddity in IO::Tee or something).

    for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";