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.

Replies are listed 'Best First'.
Re^2: Handling lines and saving them into variables
by mistamutt (Novice) on Feb 15, 2011 at 02:02 UTC

    Thanks, sorry about the all caps Perl thing =P