in reply to
Python tricks
(There's some duplication between items IX and X, and)
my @r = <STDIN>;
[download]
will return whole lines as array element(s). You need
my @r = split ' ', <STDIN>;
[download]
Comment on
Re: Python tricks
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: Python tricks
by
pme
(Monsignor)
on Dec 18, 2018 at 15:08 UTC
You are right, we need the split.
[reply]
In Section
Meditations