Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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
      $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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://530430]
[Discipulus]: from txt to array, from array to polemic, from polemic to flame?
[Corion]: Discipulus++ # profound insight
[Corion]: :-D
[Discipulus]: the very same topic was discussed in CB yesterday at lunch time
[Discipulus]: or can I ask for a module to do the back conversion from flame to txt?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-06-23 08:00 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (537 votes). Check out past polls.