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

Works for me in 5.8.0

get some string: /xxxx/yyyy/ZZZ_xxxx.CCC ZZZ CCC /xxxx/yyyy/ZZZ_xxxx

And there's no reason it shouldn't. $ not matching the end of the string would have been caught by tests. Your build is very broken if the last pattern doesn't match given the specified input.