- or download this
my $foo= 'Now is the time for all good men to come to the aid of their
+ country';
{
local $\ = " ";
...
open my $fh, '<', \$foo;
print uc while <$fh>;
}
- or download this
my $foo;
$_ = "She sells sea shells by the sea shore";
{
...
print $fh $_ for split;
}
print $foo;
- or download this
my $oops;
open STDERR, '>>', \$oops;