Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Grep Patternby hdb (Monsignor) |
on Dec 12, 2018 at 14:59 UTC ( [id://1227150]=note: print w/replies, xml ) | Need Help?? |
You could pre-program your pattern, which imho is elegant and transparent and easily adaptable to more complex situations.
I guess you could also replace "4" with "@pat" to make it even more general.
In Section
Seekers of Perl Wisdom
|
|