simple strings... %q this_is_shown_in_pickaxe_but_dont_work;

The title says it all. Going through chapter 22 of pickaxe (p320).
%q (this is some string, you dont need quotes)

%q this_type_is_shown_in_the_book;

the latter method does not work for me. Any clues as to why?

···

--
John Maclean
MSc (DIC)
07739 171 531

Dňa Nedeľa 19 Február 2006 12:50 John Maclean napísal:

The title says it all. Going through chapter 22 of pickaxe (p320).
%q (this is some string, you dont need quotes)

%q this_type_is_shown_in_the_book;

the latter method does not work for me. Any clues as to why?

You changed the code and didn't put a single space after the statement? Could
have happened if you have the printed version. That's what ends the generic
delimited form in the second example.