Interviewer And Interviewee Guide

Perl Programming Interview Question:

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

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Perl Programming Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.