Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: I heart Perl

by chargrill (Parson)
on Feb 15, 2006 at 16:17 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://530430]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found