Help for this page
use strict; use warnings; ... my @parts = map {/(\w+)\s*$/; $1} split /\s*,\s*/, $1; print "SELECT ", join (', ', @parts), " FROM\n";
SELECT x1, f2, f3, x2, x3 FROM