package App::InteractivePerlTutorial::Chapter::Scalar::Output;

use 5.014000;
use strict;
use warnings;
our $VERSION = '0.000_001';

use constant TEXT => 'Basic Output';
use constant EXERCISES => [
	{ statement => "Write a program that prints the answer to\nLife, the Universe and Everything (42)\nto the standard output.", input => '', check => sub { $_[0] eq '42' }, hint => 'Use the print operator', solution => 'print 42' },
];

1;
__DATA__

=encoding utf-8

=head1 Output

The most common way to output something is to use the C<print> operator.

  print "Hello", ', world!'; # Prints 'Hello, world!' to the standard output

The C<say> operator is similar, printing a newline after its arguments.

  say "Hello world", '!'; # Prints 'Hello, world!', followed by a newline


=cut
