http://www.perlmonks.org?node_id=888108


in reply to Handling lines and saving them into variables

Its Perl or perl rather than PERL. cf. the Perl FAQ
my ($question, $answer) = split /\? /, $line;
--
Linux, perl, punk rock, cider: charlieharvey.org.uk.