Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 romping around the Monastery: (9)
As of 2015-07-07 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls