in reply to How could I create a command line quiz?
$ perl -E'local$/="";while(<>){say"--";my($q,@a)=split/\n/;say$q;say" $_"for@a}' quiz.txt
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
in reply to How could I create a command line quiz?