in reply to Re^3: perl pattern match for end of string using STDIN and chomp
in thread perl pattern match for end of string using STDIN and chomp

When i run your code i get this:
get some string: /xxxx/xxxxx/YYY_xxxxx.CCC 10 10 YYY CCC YYY