![]() |
#1 |
Registered User
Join Date: Mar 2018
Posts: 341
|
How to read a directory in Perl?
To read a directory in Perl, readdir function is used. In scalar context, it will return each item one by one. In list context, it will return all the content of directory in one statement. So list context uses more memory than scalar context.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|