quotemeta
flag
5 messages - Collapse all
/groups/adfetch?adid=t4meVhEAAADbBl5naj4apxxef8QQ01OOFSRgCP-avRN4YT0eROC0jw
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
1.  Rod Adams  
View profile  
 More options Mar 16 2005, 3:07 am
Newsgroups: perl.perl6.language
From: r...@rodadams.net (Rod Adams)
Date: Wed, 16 Mar 2005 02:07:13 -0600
Local: Wed, Mar 16 2005 3:07 am
Subject: quotemeta
I vote for axing C<quotemeta> in favor of C<q:meta//> and C<q:m//>.

-- Rod Adams


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Richard Proctor  
View profile  
 More options Mar 16 2005, 5:17 am
Newsgroups: perl.perl6.language
From: Rich...@waveney.org (Richard Proctor)
Date: Wed, 16 Mar 2005 10:17:33 +0000 (GMT)
Local: Wed, Mar 16 2005 5:17 am
Subject: Re: quotemeta
On Wed 16 Mar, Rod Adams wrote:

> I vote for axing C<quotemeta> in favor of C<q:meta//> and C<q:m//>.

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

Richard

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
3.  Larry Wall  
View profile  
 More options Mar 16 2005, 12:41 pm
Newsgroups: perl.perl6.language
From: la...@wall.org (Larry Wall)
Date: Wed, 16 Mar 2005 09:41:03 -0800
Local: Wed, Mar 16 2005 12:41 pm
Subject: Re: quotemeta
On Wed, Mar 16, 2005 at 10:17:33AM +0000, Richard Proctor wrote:

: On Wed 16 Mar, Rod Adams wrote:
: > I vote for axing C<quotemeta> in favor of C<q:meta//> and C<q:m//>.
: >
:
: 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
4.  Juerd  
View profile  
 More options Mar 16 2005, 4:46 pm
Newsgroups: perl.perl6.language
From: ju...@convolution.nl (Juerd)
Date: Wed, 16 Mar 2005 22:46:29 +0100
Local: Wed, Mar 16 2005 4:46 pm
Subject: Re: quotemeta
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
5.  Larry Wall  
View profile  
 More options Mar 16 2005, 5:18 pm
Newsgroups: perl.perl6.language
From: la...@wall.org (Larry Wall)
Date: Wed, 16 Mar 2005 14:18:25 -0800
Local: Wed, Mar 16 2005 5:18 pm
Subject: Re: quotemeta
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google