Here's my attempt to do the same thing. The same restrictions apply to my code. Hope you enjoy it!

Note: I have taken a few liberties in my code: I have changed the format of the "header", because I like qw, and I have changed the word warn to die.

use strict; use warnings; @_=my @hidden_words_to_find=qw( PERL USESTRICT ARRAY SUBROUTINE EXIT CPAN FOREACH MODULUS BLESS WHILE PERLMONKS PRINT SCALAR IF REGEX ELSE DIE LENGTH HASH JAPH );$_=' 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 I D N X A R R A Y E K E D J D L D X 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 S C A E 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 ';print;s/\n/--/g;for$/(1,30,32 ,34){for$.(@_,map{reverse.""}@_ ){my$x;$"=join"(.{$/})",split// ,$.;$0="";s|$"|join"",map{(eval "\$@{[$x++]}") .$_}split//,lc$. |gei;}}s/-{2}/\n/g;s/[A-Z]/ /g; print"Locations:";print;__END__

In reply to Re: Word Seeker by kaif
in thread Word Seeker by ktross

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, details, 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, summary, 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.