Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Matching first Letters of two words

by rcaputo (Chaplain)
on Apr 21, 2009 at 01:47 UTC ( #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? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2022-12-03 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?