Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Matching first Letters of two words

by rcaputo (Chaplain)
on Apr 21, 2009 at 01:47 UTC ( [id://758854]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub first_character_matches {
      return( ((lc shift) ^ (lc shift)) =~ /^\0/ );
    }
    
  2. or download this
    1) poerbook:~% perl -wle 'print "yes" if ( ((lc shift) ^ (lc shift)) =
    +~ /^\0/ )' abc DBC
    1) poerbook:~% perl -wle 'print "yes" if ( ((lc shift) ^ (lc shift)) =
    +~ /^\0/ )' abc ABC
    yes
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://758854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-25 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found