in reply to TIMTOWTDI - printing an array

my @array = qw(foo bar baz); system echo => $_ for @array;

And if you think the above is insane...

@array = qw(foo bar baz); use File::Temp; foreach my $string (@array) { my $tmpfile = File::Temp->new; printf $tmpfile <<'HERE' => quotemeta($string); { package Local::App::PrintString; use 5.010; sub run { say "%s"; } } Local::App::PrintString->run(@ARGV) unless scalar caller; HERE system $^X, $tmpfile->filename; }
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'