in reply to
Re: Read two values from input
in thread
Read two values from input
split(' ', $line)
has the advantage of ignoring leading whitespace and accepting tabs in addition to spaces. It also makes the
chomp
useless.
Comment on
Re^2: Read two values from input
Select
or
Download
Code
In Section
Seekers of Perl Wisdom