Use Ctrl+D to terminate the input.#!/usr/bin/perl use strict; use warnings; print "Enter your guess: "; my @input = <STDIN>; print "@input\n";
In reply to Re: Multi-Line Input
by Anonymous Monk
in thread Multi-Line Input
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |