• +91 9723535972
  • info@interviewmaterial.com

Perl Interview Questions and Answers

Question - How to read a directory in Perl?

Answer -

The readdir function is used to read a directory in Perl. In scalar context, it will return each item one by one. In list context, it will return all the content of the directory in one statement. So list context uses more memory than scalar context.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners