XP is just a number | |
PerlMonks |
Re^3: Contextual find and replace large config fileby choroba (Cardinal) |
on Jan 03, 2019 at 17:41 UTC ( [id://1227992]=note: print w/replies, xml ) | Need Help?? |
Comments in most languages can appear anywhere where insignificant whitespace is possible. Your approach can't transform structures that comment both on the keys and values, as in
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|