Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: -> Is Optional ?

by RichardK (Parson)
on Dec 28, 2012 at 11:56 UTC ( #1010695=note: print w/replies, xml ) Need Help??

in reply to -> Is Optional ?

Yes. See the docs in perlreftut which says :-

Arrow Rule In between two subscripts, the arrow is optional.

Replies are listed 'Best First'.
Re^2: -> Is Optional ?
by vinoth.ree (Monsignor) on Dec 28, 2012 at 13:08 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010695]
Tanktalus is trying to figure out how to get a case-insensitive match between stra▀e and strasse to return true in perl :( fc doesn't seem to do it, either, unless I'm doing it wrong.
[LanX]: ▀,ss
[LanX]: nope
[LanX]: /.*(?:▀|ss).*/
[hippo]: How are you doing the match? Regex, index, eq or something else?
[choroba]: fc $s1 eq fc $s2 I guess
[Tanktalus]: hippo: I don't care, I just want to prove it can match correctly compared to, say, ILIKE / UPPER / LOWER in postgres :)
[LanX]: is there a unicode convention that ▀ is ss ?
[Tanktalus]: LanX: yes :) I haven't tried java, but I have this match working in its bastard cousin, C# :) I just thought perl's unicode support would get me there :)
[LanX]: I have my doubts, IMHO its a workaround if the glyph is missing

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2018-03-21 15:40 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (268 votes). Check out past polls.