Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Python tricks

by soonix (Abbot)
on Dec 18, 2018 at 12:55 UTC ( #1227392=note: print w/replies, xml ) Need Help??


in reply to Python tricks

(There's some duplication between items IX and X, and)
my @r = <STDIN>;
will return whole lines as array element(s). You need
my @r = split ' ', <STDIN>;

Replies are listed 'Best First'.
Re^2: Python tricks
by pme (Prior) on Dec 18, 2018 at 15:08 UTC
    You are right, we need the split.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1227392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2019-05-27 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (156 votes). Check out past polls.

    Notices?