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

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Inspired by some of the really interesting and sometimes amazing ideas I've seen in other threads, here's my first attempt at doing this kind of thing...
use warnings;use strict;my $c=" 1#3#4#5#6#7#8#9#10#11#18#25#29# 34#35#36#37#126#127#128#130#133 #134#243#250#251#252#253#254### 257#135#136#137#138#139#145#146 #149#150#154#";my @l=split" "," P X U S E S T R I C T G L A F I I E E R Z I A P S Z R E E A W N X A R R A Y E K E D J D L D F J D F S L W M N C J C E R I C E R U H F C M O N L E N G T H I D O M R X H M H Z W I E R X W A S D H E Y L C E S T R V H W D E W Q E G R X W M U A D F E G E L S E C E M J F O R E A C H T R H E C P X U H R D T Y R P Y N B X P B W C B B Z U E N R A W A C V R E D F U V D L S A C N B V Y A I T S S E L B U B H E W S D L N N D A D X G E S F K S J G A R T T F F G I E B N S B Z A C W Q U E A S D T G A E R N N S H P A J Q D ";my @hidden_words_to_find =qq( PERL, USESTRICT, ARRAY, PERLMONKS, LENGTH, WHILE, FOREACH, MODULUS, CPAN, SUBROUTINE, PRINT, SCALAR, REGEX, IF, ELSE, WARN, );$c.="38#40#45#52#54#55#59#235 #72#73#74#75#76#77#82#85#89#93# 98#100#104#114#115#118#119#125# 159#164#166#168#169#170#171#175 #179#182#186#190#191#193#194### 195#196#197#198#200#205#207#211 #214#217#220#223#227#234#61#70# 16#15";$c=~s/##//g;my @k= split "#",$c;@k=sort{$a<=>$b}@k;for(0 ..$#l+1){if($k[0]and$k[0]==$_){ print $l[$_-1];shift@k;} else { print" ";} print" ";print"\n " if$_%16==0;}print"\n";exit;#jeb


Critiques appreciated!

In reply to Word Seek by Slipstream

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (8)
    As of 2020-08-07 13:58 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Which rocket would you take to Mars?










      Results (45 votes). Check out past polls.

      Notices?