Re: String Literals, take 3
[email protected] (Andrew Wilson) Thu, 5 Dec 2002 16:01:37 +0000
| Newsgroups | perl.perl6.documentation |
|---|---|
| Message-ID | <[email protected]> |
--0/kgSOzhNoDC5T3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 05, 2002 at 03:46:25PM +0000, Andrew Wilson wrote: > Non-Interpolating constructs are strings in which expressions do > not interpolate or expand. The exception to this rule is the > backslash character C<\>. A single backslash which is followed by > another backslash, the current quoting delimiter, or the > characters q[ or q[[ is special (more on this below). In all > other cases the backslash just means "literal backslash". This is > so that you can easily get a backslash within your > non-interpolating strings. For instance, 'backslash (\\) \test' > becomes "backslash (\) \test". s/ single// Doh! but obviously only if you decide to use this rather than the first suggestion. andrew --=20 Cancer: (June 22 - July 22) Though you do everything you can do to save the girl's life, the only thing you can do is juggle and do a few simple card tricks. --0/kgSOzhNoDC5T3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE973hh4x3z39L355MRAqSlAKCVrVwMy/xAba1cylOQwMuam8FkugCgpinF ko0NQI1DNJ4CG4XtAD26lFU= =hRxd -----END PGP SIGNATURE----- --0/kgSOzhNoDC5T3a--