#!/usr/local/bin/perl use strict; use warnings; for (0..9) { print STDOUT "line $_ of stdout\n"; print STDERR "line $_ of stderr\n"; }