Aaron Sherman wrote:
> As a side note, I'd like to suggest that "English" is just rubbing
> people's noses in the fact that they're not allowed to program in their
> native tongue. "Names" might be less in-your-face.
Why are we even having to say use English or Names or whatever? Why
not just ma
> I never liked character sets. They introduced yet another exception to
> the parsing rules, and it irked me. If it weren't for the need to
> optimize character sets, I'd prefer to be Pythonized into using @{'a'
> .. 'z'}
Isn't that just a digression into the bad old pre-internationalized
days. U
More questions stemming from cookbook work... Decimal Comparisons:
The most common recipe around for comparisons is to use sprintf to cut
the decimals to size and then compare strings. Seems ugly.
The non-stringification way to do it is usually along the lines of:
if (abs($value1 - $value2) < a
> I agree, with my (probably wrong) impression that words() was a "split
> a string into words" function, I was thinking to myself bloat, but
> then I was also reminding myself that Perl's power as a natural
> language text processor has always been a premium feature (somehow
> even prior to full U
> Rod Adams wrote:
> Well, some form of words() exists... only spelled q:w//, with various
> doublings of q and w available, some of which can be spelled <> or «»,
> though to be honest, I've lost track of how often the meanings of those
> as quoters has changed. I suspect S02 or S03 would have th
Hey all, not sure if I'm just missing some obvious source of
information, but I used trim() as a function in a cookbook example,
then realized that it's not even in S29...
There is a brief mention of trim(), as well as words() (odd as the
words() function may seem, to me at least), at
http://tinyu
> > > However, I do like the idea of treating a string as an array of chars. I
> > > remember some discussion a while back about making [] on strings do
> > > something useful (but not the same thing as C), but I forget how
> > > it ended, and my brain is too fried to go hunt it down. But overall I
> Rod wrote:
> However, I do like the idea of treating a string as an array of chars. I
> remember some discussion a while back about making [] on strings do
> something useful (but not the same thing as C), but I forget how
> it ended, and my brain is too fried to go hunt it down. But overall I
>
Hey all, more pleac conversion questions:
I can't prove with the docs that a heredoc will continue to work as
positional params to a function call, particularly where it's not the
first param:
die "Couldn't send mail" unless send_mail <
> > "abc".chars would return , which I'm guessing would be
> > bytesize usually.
>
> Fair enough.
>
> > "日本語".chars would return <[EMAIL PROTECTED]@語>, which can probably be
> > expressed with
> > UTF8?
>
> I think you're confusing UTF8 (which can represent ALL Unicode
> characters) and "the U
uot;, "ï" from)? Any Arabic speakers to
> confirm or deny this behavior of ligatures?
From Apocalyps 5: "Under level 2 Unicode support, a character is
assumed to mean a grapheme, that is, a sequence consisting of a base
character followed by 0 or more combining characters."
Hi all,
I'm writing a bunch of examples for perl 6 pleac and it seems rather
natural to expect $string.chars to return a list of unicode chars in
list context, however I can't find anything to confirm that. (The
other alternatives being split and unpack.)
# unpack
@array = unpack("C*", $string);
, in this case).
That said, svn is probably fine...just my two cents.
Marcus
On 4/9/05, Autrijus Tang <[EMAIL PROTECTED]> wrote:
> On Sat, Apr 09, 2005 at 10:17:12PM -0600, Luke Palmer wrote:
> > gcomnz writes:
> > > I'd really like to contribute, but I'm wonder
I'd really like to contribute, but I'm wondering if for the first
phase a wiki would help the community pull together the best practice
for each recipe? I'm thinking mediawiki style, where there's a
discussion page attached to each wiki page. Would it help the
conversation progress quickly (and gro
On Thu, 17 Mar 2005 16:16:00 -0700, gcomnz <[EMAIL PROTECTED]> wrote:
Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> wrote:
>By the way, I think I've seen a few people suggest some sort of
>syntax-switching mechanism for "Pod6". The day people have t
15 matches
Mail list logo