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

slurp so many?

Thread Next
From:
ToddAndMargo via perl6-users
Date:
October 7, 2018 23:42
Subject:
slurp so many?
Message ID:
9f5192bd-8812-d5ba-aea3-432952658806@zoho.com
Hi All,

I use `slurp` all the time, so of course, I can't
make heads or tails out of

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

I want to slurp the first 400 characters of
a file and close the handle.  Am I missing a
`so many` parameter somewhere?

Many thanks,
-T

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