Mago, your homework assignment is to read up on the /g modifier in man perlop.
$_ = join ( ' ', reverse( map( ucfirst, split ( ',', do { %a = ( 'gbckdrzqfrlzbmotgdrziwst', # Nice obfuscation here. Talk about hiding in plain sight... # $a=s/([i-j])/j/; 'gbckdrzqfrlzbmotgdrzjwst', # $a=s/([u-y])/u/; 'gbckdrzqfrlzbmotgdrzjust', # $a=s/([z])/,/; 'gbckdr,qfrlzbmotgdrzjust', # $a=s/([a-b])/a/; 'gackdr,qfrlzbmotgdrzjust', # $a=s/([m-n])/n/; 'gackdr,qfrlzbnotgdrzjust', # $a=s/([g-h])/h/; 'hackdr,qfrlzbnotgdrzjust', # I assume the extra newline was unintentional? # $a=s/([z])/ # ,/; "hackdr,qfrl\n,bnotgdrzjust", # $a=s/([p-q])/p/; "hackdr,pfrl\n,bnotgdrzjust", # $a=s/([d-f])/e/; "hacker,pfrl\n,bnotgdrzjust", # $a=s/([f])/e/; "hacker,perl\n,bnotgdrzjust", # $a=s/([z])/,/; "hacker,perl\n,bnotgdr,just", # $a=s/([g])/h/; "hacker,perl\n,bnothdr,just", # $a=s/([b])/a/; "hacker,perl\n,anothdr,just", # $a=s/([d])/e/; "hacker,perl\n,another,just", '+i-j])/j/;+u-y])/u/;+z])/,/;+a-b])/a/;+m-n])/n/;+g-h])/h/;+z])/ ,/;+p-q])/p/;+d-f])/e/;+f])/e/;+z])/,/;+g])/h/;+b])/a/;+d])/e/;' ); $a = join ( '', keys(%a) ); for ( 1 .. 14 ) { $a{$a} =~ s/\+/<PM*BRASIL>/; } # Looks like a file glob, doesn't it? Guess again! # '<PM*BRASIL>i-j])/j/;<PM*BRASIL>u-y])/u/;<PM*BRASIL>z])/,/;<PM*BRASI +L>a-b])/a/;<PM*BRASIL>m-n])/n/;<PM*BRASIL>g-h])/h/;<PM*BRASIL>z])/ # ,/;<PM*BRASIL>p-q])/p/;<PM*BRASIL>d-f])/e/;<PM*BRASIL>f])/e/;<PM*BRA +SIL>z])/,/;<PM*BRASIL>g])/h/;<PM*BRASIL>b])/a/;<PM*BRASIL>d])/e/;' for ( 1 .. 14 ) { $a{ $a } =~ s/<P/\$a/; # '$aM*BRASIL>i-j])/j/;$aM*BRASIL>u-y])/u/;$aM*BRASIL>z])/,/;$aM*BRASI +L>a-b])/a/;$aM*BRASIL>m-n])/n/;$aM*BRASIL>g-h])/h/;$aM*BRASIL>z])/ # ,/;$aM*BRASIL>p-q])/p/;$aM*BRASIL>d-f])/e/;$aM*BRASIL>f])/e/;$aM*BRA +SIL>z])/,/;$aM*BRASIL>g])/h/;$aM*BRASIL>b])/a/;$aM*BRASIL>d])/e/;' $a{$a} =~ s/M/=~s\//; # '$a=~s/*BRASIL>i-j])/j/;$a=~s/*BRASIL>u-y])/u/;$a=~s/*BRASIL>z])/,/; +$a=~s/*BRASIL>a-b])/a/;$a=~s/*BRASIL>m-n])/n/;$a=~s/*BRASIL>g-h])/h/; +$a=~s/*BRASIL>z])/ # ,/;$a=~s/*BRASIL>p-q])/p/;$a=~s/*BRASIL>d-f])/e/;$a=~s/*BRASIL>f])/e +/;$a=~s/*BRASIL>z])/,/;$a=~s/*BRASIL>g])/h/;$a=~s/*BRASIL>b])/a/;$a=~ +s/*BRASIL>d])/e/;' $a{$a} =~ s/\*/\(/; # '$a=~s/(BRASIL>i-j])/j/;$a=~s/(BRASIL>u-y])/u/;$a=~s/(BRASIL>z])/,/; +$a=~s/(BRASIL>a-b])/a/;$a=~s/(BRASIL>m-n])/n/;$a=~s/(BRASIL>g-h])/h/; +$a=~s/(BRASIL>z])/ # ,/;$a=~s/(BRASIL>p-q])/p/;$a=~s/(BRASIL>d-f])/e/;$a=~s/(BRASIL>f])/e +/;$a=~s/(BRASIL>z])/,/;$a=~s/(BRASIL>g])/h/;$a=~s/(BRASIL>b])/a/;$a=~ +s/(BRASIL>d])/e/;' $a{$a} =~ s/BRASIL>/\[/; # '$a=~s/([i-j])/j/;$a=~s/([u-y])/u/;$a=~s/([z])/,/;$a=~s/([a-b])/a/;$ +a=~s/([m-n])/n/;$a=~s/([g-h])/h/;$a=~s/([z])/ # ,/;$a=~s/([p-q])/p/;$a=~s/([d-f])/e/;$a=~s/([f])/e/;$a=~s/([z])/,/;$ +a=~s/([g])/h/;$a=~s/([b])/a/;$a=~s/([d])/e/;' } eval( $a{$a} ); $_ = $a; } ) ) ) ) . ', '; print;

In reply to Re: My Frist J.A.P.H. or Obfuscation Code by jdalbec
in thread My Frist J.A.P.H. or Obfuscation Code by Mago

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.