Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re:{4} Getting impossible things right (behaviour of keys)

by blakem (Monsignor)
on Oct 25, 2001 at 01:18 UTC ( #121276=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ($txt = '123abc') =~ /(a|b|c)/;
    
    ...
                - check for c -> fail
    
    4. 123^abc  - check for a -> succeess, $1 becomes 'a'
    
  2. or download this
    ($txt = 'barefoot') =~ /(foo|foot)/;
    
    ...
                  - check for foot -> fail
    
    5. bare^foot  - check for foo  -> success, $1 becomes 'foo'
    
  3. or download this
    ($txt = 'arvec') =~ /(ar|ec|vec)$/
    
    ...
    3. ar^vec  - check for ar$  -> fail
               - check for ec$  -> fail
               - check for vec$ -> success, $1 becomes 'vec'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://121276]
help
Chatterbox?
[Tux]: and 11.31 is still the last stable. We're moving all our customers to Linux (openSUSE and CentOS), but that takes a loooooooooooooooon g time
[LanX]: ehm ... I woke up my *boobs* ?
LanX where is the camera?
Tux => $HOME
[Eily]: you wrote boos instead of boss, and jedikaiti read that as boobs :)
[LanX]: Win claims only 8 MB left on C: how do I find out where the problem happens?
[Eily]: by Tux. And going home sounds like a good idea
[Eily]: LanX pretty much everywhere except in 8MB ?
[Eily]: s/by/bye/ someone hacked my keyboard I'm sure
[LanX]: good point! :)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-09-20 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (237 votes). Check out past polls.

    Notices?