/success$/ will match "unsuccess" but not "successful".
But I have some problem in understanding it when used in some situation like
$string =~ s/\s*$//; What does here the $ means?
/success$/ will match "unsuccess" but not "successful".
But I have some problem in understanding it when used in some situation like
$string =~ s/\s*$//; What does here the $ means?
End of string.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.