Think about Loose Coupling | |
PerlMonks |
Re^2: String match in Chinese characterby hankcoder (Scribe) |
on Mar 11, 2018 at 22:43 UTC ( [id://1210692]=note: print w/replies, xml ) | Need Help?? |
Thanks choroba for reply. The suggested method is as my very old way of coding style. However, I will encounter an issue with my editor whereby I must have the .pl file saved in UTF-8 encoded type in order to hard code it like while ($string =~ /【(.*?)】/g) Furthermore, there are some other issue which I can't remember so I ditch such direct use of Chinese character in my codes.
In Section
Seekers of Perl Wisdom
|
|