Perl Monk, Perl Meditation | |
PerlMonks |
Re: regular expression to get the tablename.column_nameby imp (Priest) |
on Oct 18, 2006 at 03:51 UTC ( [id://578954]=note: print w/replies, xml ) | Need Help?? |
Trying to condense the code to a single line is really only useful only for satisfying curiosity, as code that is condensed like that is harder to maintain.
That said, here's one line of perl for it: And here's an awk solution
In Section
Seekers of Perl Wisdom
|
|