It's like "try this, or try that", or "this does this and that does this". That's all well and good, but how did you decide to try this and try that?

I addressed this in the first JAPH talk I gave. It went like First you get an idea, then you work out the details. Getting the idea can come from many sources: studying the manual page, reading Perl forums like comp.lang.perl.misc, p5p, The Perl Journal, or from IRC. If you look at my first set of slides, there's a section labelled "The making of a Japh". It discusses the process that started with seeing someone use &%%hole in a non-Perl related usenet group and ended with the Japh:

split // => '"'; ${"@_"} = "/"; split // => eval join "+" => 1 .. 7; *{"@_"} = sub {foreach (sort keys %_) {print "$_ $_{$_} "}}; %{"@_"} = %_ = (Just => another => Perl => Hacker); &{%{%_}};
(The code above will not always work correctly with 5.8.1 or later).

Abigail


In reply to Re: Learning from Obfuscation by Abigail-II
in thread Learning from Obfuscation by flyingmoose

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.