Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Python tricks

by soonix (Canon)
on Dec 18, 2018 at 12:55 UTC ( [id://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 (Monsignor) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1227392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found