Quote:
Originally Posted by apoorvasharma80
You can write the same as ......
=~ {^(/.*)/bin/xx}
Now the 'm' is absent and '{' and '}' are delimiters!!
Actually the 'm' is necessary unless '/' is used as delimiter. So, m{} but not {}, as {} means something else in Perl (reference to hash literal).