Article View: comp.lang.misc
Article #7023Re: Metalanguages in environments where code is data.
From: Tom Christiansen
Date: Thu, 10 Nov 1994 23:36
Date: Thu, 10 Nov 1994 23:36
20 lines
1949 bytes
1949 bytes
:-> In comp.lang.perl, peter@nmti.com (Peter da Silva) writes:
I'll let Larry answer the rest if he has time...
:> runoff qq{
: ^^--- could you explain this?
That's a variable-interpolated, brace-balanced string, just like a double
quote. So it's like "foo $bar stuff" except your braces can nest (and you
may use any sort of brace: curly, square, round, or angle). There's also
a form for non-variable interpolated strings, q{}, which is like a 'single
quote', as well as qx{} for `back quotes`. Finally, qw{} is just a
listified q{}.
--tom
--
Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
The human mind ordinarily operates at only ten percent of its capacity
--the rest is overhead for the operating system.
Technical Details
Message-ID:
<39uaqf$3b2@csnews.cs.Colorado.EDU>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!agate!boulder!csnews!mox!tchristReferences:
<id.IWEE1.A3H@nmti.com> <id.QQFE1.XIE@nmti.com> <1994Nov9.194316.14800@netlabs.com> <id.57ME1.GJ5@nmti.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,9bda08f2f068881f X-Google-Attributes: gidf891f,public X-Google-Thread: 10259a,9bda08f2f068881f X-Google-Attributes: gid10259a,public X-Google-Thread: 10eb76,9bda08f2f068881f X-Google-Attributes: gid10eb76,public X-Google-Thread: 103d24,9bda08f2f068881f X-Google-Attributes: gid103d24,public X-Google-Thread: 1025b4,9bda08f2f068881f X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1994-11-10 21:27:57 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!agate!boulder!csnews!mox!tchrist From: Tom Christiansen <tchrist@mox.perl.com> Newsgroups: comp.lang.misc,gnu.misc.discuss,comp.lang.scheme,comp.lang.tcl,comp.lang.perl Subject: Re: Metalanguages in environments where code is data. Date: 10 Nov 1994 23:36:47 GMT Organization: Perl Consulting and Training Lines: 20 Message-ID: <39uaqf$3b2@csnews.cs.Colorado.EDU> References: <id.IWEE1.A3H@nmti.com> <id.QQFE1.XIE@nmti.com> <1994Nov9.194316.14800@netlabs.com> <id.57ME1.GJ5@nmti.com> Reply-To: tchrist@mox.perl.com (Tom Christiansen) NNTP-Posting-Host: perl.com Originator: tchrist@mox