quotemeta

2005-03-16 Thread Rod Adams
I vote for axing C in favor of C and C.
-- Rod Adams


Re: quotemeta

2005-03-16 Thread Richard Proctor
On Wed 16 Mar, Rod Adams wrote:
> I vote for axing C in favor of C and C.
> 

Given A05 states that bare scalars match literally, quotemeta is (almost?)
obsolete.  It can certainly be downgraded.

Richard

-- 
Personal [EMAIL PROTECTED]http://www.waveney.org
Telecoms [EMAIL PROTECTED]  http://www.WaveneyConsulting.com
Web services [EMAIL PROTECTED]http://www.wavwebs.com
Independent Telecomms Specialist, ATM expert, Web Analyst & Services



Re: quotemeta

2005-03-16 Thread Larry Wall
On Wed, Mar 16, 2005 at 10:17:33AM +, Richard Proctor wrote:
: On Wed 16 Mar, Rod Adams wrote:
: > I vote for axing C in favor of C and C.
: > 
: 
: Given A05 states that bare scalars match literally, quotemeta is (almost?)
: obsolete.  It can certainly be downgraded.

Except that q:meta would be an upgrade in terms of specialness,
and besides, it's inside out from what you want, which is to quote
a particular argument to a string interpolation, not the entire
interpolation.  It just wants to be a miscellaneous function hidden
in the bowels of the core somewhere.

Larry


Re: quotemeta

2005-03-16 Thread Juerd
Larry Wall skribis 2005-03-16  9:41 (-0800):
> Except that q:meta would be an upgrade in terms of specialness,
> and besides, it's inside out from what you want, which is to quote
> a particular argument to a string interpolation, not the entire
> interpolation.  It just wants to be a miscellaneous function hidden
> in the bowels of the core somewhere.

Doesn't it want to be the method .escaped then? The method could support
all kinds of escaping/encoding.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html


Re: quotemeta

2005-03-16 Thread Larry Wall
On Wed, Mar 16, 2005 at 10:46:29PM +0100, Juerd wrote:
: Larry Wall skribis 2005-03-16  9:41 (-0800):
: > Except that q:meta would be an upgrade in terms of specialness,
: > and besides, it's inside out from what you want, which is to quote
: > a particular argument to a string interpolation, not the entire
: > interpolation.  It just wants to be a miscellaneous function hidden
: > in the bowels of the core somewhere.
: 
: Doesn't it want to be the method .escaped then? The method could support
: all kinds of escaping/encoding.

The question is, escaped for what?  quotemeta() is rather Unix-centric
in a conservative sort of way.

Maybe we're just talking about an option to .as().

Larry


[perl6/specs] d251a6: unspec quotemeta, fixes #89

2015-04-24 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: d251a6bf3dcb1129ba6233aeaa5142f1db27323d
  
https://github.com/perl6/specs/commit/d251a6bf3dcb1129ba6233aeaa5142f1db27323d
  Author: Brent Laabs 
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
M S02-bits.pod
M S29-functions.pod
M S32-setting-library/Str.pod

  Log Message:
  ---
  unspec quotemeta, fixes #89




[perl6/specs] 5d2e83: unspec quotemeta, fixes #89

2015-04-24 Thread GitHub
  Branch: refs/heads/newio
  Home:   https://github.com/perl6/specs
  Commit: 5d2e83921996a6ba5d4b5a0c7c289717f0a55cff
  
https://github.com/perl6/specs/commit/5d2e83921996a6ba5d4b5a0c7c289717f0a55cff
  Author: Brent Laabs 
  Date:   2015-04-24 (Fri, 24 Apr 2015)

  Changed paths:
M S02-bits.pod
M S29-functions.pod
M S32-setting-library/Str.pod

  Log Message:
  ---
  unspec quotemeta, fixes #89