Answers

Question and Answer:

  Home  Perl Programming

⟩ How do you print out the next line from a filehandle with all its bytes reversed?

print scalar reverse scalar <FH>

Surprisingly enough, you have to put both the reverse and the <FH> into scalar context separately for this to work.

 223 views

More Questions for you: