O'Reilly logo
  • Garrett Maring thinks this is interesting:

In this example, the quotation marks have been replaced with %q{ and }. You don't have to use curly brackets, though. You can use < and >, ( and ), or simply two other delimiters of your choice, such as ! and !. This code works in exactly the same way: