Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: q// Message-ID: <9465@jpl-devvax.JPL.NASA.GOV> Date: 11 Sep 90 18:46:30 GMT References: <1990Sep11.153135.26548@squirrel.mh.nl> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Distribution: comp Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 24 In article <1990Sep11.153135.26548@squirrel.mh.nl> Johan Vromans writes: : From the manual (pl28): : : "The q operator is a generalized single quote, and the qq operator a : "generalized double quote. : "Any non-alphanumeric delimiter can be used in place of /, including : "newline. : : Of course this is extreme, but ... ascii NUL? : : (^@ is a real NUL): : : $a = q^@foo^@; : : => EOF in string at t.pl line 1. : : eval("$a = q\0foo\0"); print "$@"; : : => EOF in string at (eval) line 1. Fixed. By the way, that last one is still a syntax error unless you say "\$a...". Larry