in reply to stdout question
Or if you like, you can use qx( ), which does the same thing as backticks.#!/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";
|
|---|