On 19.02.2009 14:26, 7stud -- wrote: > Robert Klemme wrote: >> 2009/2/19 7stud -- <bbxx789_05ss / yahoo.com>: >>> What's the difference between %Q and %? >> irb(main):002:0> %{foo bar #{1+2}} >> => "foo bar 3" >> irb(main):003:0> %Q{foo bar #{1+2}} >> => "foo bar 3" >> irb(main):004:0> %q{foo bar #{1+2}} >> => "foo bar \#{1+2}" > > Uhmm...yeah. Those are the same results I got. Why would anyone use %Q > then? And where is the use of % like that documented? To make the quoting more obvious. It must be somewhere in the Pickaxe but I don't have my copy handy so I cannot provide the page reference. Kind regards robert