in reply to Re^2: a simple work task
in thread a simple work task

how to store three inputs on same line into three scalar variable?
split
and loop on several lines of inputs?
open a file, or...
while (<>) { # do something }
See also perlintro