Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

YAOE! (Yet Another Obfuscated Entry)

by ar0n (Priest)
on Jun 12, 2000 at 15:54 UTC ( #17691=obfuscated: print w/replies, xml ) Need Help??

Here's my first attempt, please don't laugh.
@f=split(//,shift||"Just Another Perl Hacker"); sub p{print @_};while(){for($i=0;$i<@f;$i++){$j=6000;while(#$j-- if($slow) --$j){p("."=>chr(8));}p$f[$i];}p"\n";push@f,shift@f;}

update: err, copy error, sorry... it works now

-- ar0n

Replies are listed 'Best First'.
RE: YAOE! (Yet Another Obfuscated Entry)
by buzzcutbuddha (Chaplain) on Jun 15, 2000 at 00:03 UTC
    It worked great for me, and I love it! Awesome! Awesome! Awesome! What a cool JAPH. kudos to you.
RE: YAOE! (Yet Another Obfuscated Entry)
by Apterigo (Scribe) on Jun 13, 2000 at 00:39 UTC
    Yikes, I get the follow error message when I run it:

    Missing right bracket at file.pl line 3, at end of line
    Syntax error at file.pl line 3, at EOF
    Execution of file.pl aborted due to compilation errors.

    I dunno, maybe I did something wrong :)
    Apterigo
      Adding an extra right bracket (}) allows the code to execute, but it doesn't output anything legible - just a long string of letters. Granted, all the letters are from the set that makes up "Just Another Perl Hacker" but they aren't in order.

      - Ozymandias

RE: YAOE! (Yet Another Obfuscated Entry)
by mcwee (Pilgrim) on Jun 14, 2000 at 01:11 UTC
    It worked fine when I tried it and it's very, very neat-- well worth the cutting & pasting. An excellent first attempt, ar0n-- gets my vote. Bravo!
    (ps: I really like that it outputs in a sort of matrix-- a nice change from the usual single line output. And the pacing as it runs is nice-- I really like that it takes a few moments for the whole effect to be evident.)

    The Autonomic Pilot; it's FunkyTown, babe.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://17691]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2022-10-04 06:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (16 votes). Check out past polls.

    Notices?