Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Welcome to the Monastery
 
PerlMonks  

Re^2: I heart Perl

by chargrill (Parson)
on Feb 15, 2006 at 16:17 UTC ( #530430=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $string = 'ShELoVeSMeshElOvEsmeNOtsHeloVeSMEShELOVESmeNOTShEloVesmEShe
    +LovesMenoTsHELovEsMESHelOVeSmEnotSHeLOVeSMESHElOvESMENotSHeLoVesmEShE
    +LovEsmENOTsHELOVEsmEsHELOveSMeNoTshELOVeSmesHElOVesmEnOTSheLOvEsMeshE
    +LoVESmEnoTSHELOvEsM';
    
    ...
      $letter = pack "B8", $bit;
      print "string: $_ bit: $bit letter: $letter\n";
    }
    
  2. or download this
    string: ShELoVeS bit: 01001010 letter: J
    string: MeshElOv bit: 01110101 letter: u
    ...
    string: HeloVeSM bit: 01110100 letter: t
    string: EShELOVE bit: 00100000 letter:  
    ...
    
  3. or download this
    $/  =  q#(\w)#  ;  sub  sig { print scalar reverse  join  ' ',  @_  } 
    + sig
    map { s$\$/\$/$\$2\$1$g && $_ } split( ' ', ",erckha rlPe erthnoa stJu
    +" );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-04-23 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (553 votes), past polls