Comment Comment by Olap84 So there is choice of course.match returns match data, and sets the $~ variable=== returns true or false, setting the $~ variable=~ returns integer (position) or nil, setting $~The newest one match? returns a boolean, not setting $~ parent Olap84 10 years ago
match returns match data, and sets the $~ variable
=== returns true or false, setting the $~ variable
=~ returns integer (position) or nil, setting $~
The newest one match? returns a boolean, not setting $~