#!/usr/bin/perl -w # test-stdout.pl use strict; print "Hello, world."; -------------------------- #!/usr/bin/perl -w # test.pl use strict; my $prog_output = `perl test-stdout.pl`; print "\nIt said [$prog_output]\n";