develooper Front page | perl.perl6.users | Postings from May 2018

I need `dir` help

Thread Next
From:
ToddAndMargo
Date:
May 10, 2018 23:34
Subject:
I need `dir` help
Message ID:
70c268c7-2848-9c05-fd39-db276463ea9d@zoho.com
Hi All,

https://docs.perl6.org/routine/dir

perl6 -e 'my $x=dir; say "$x";'

Does indeed read the directory, but give me one YUGE string.
I need each entry to have some kind of a separator.


Many thanks,
-T


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About