Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Have a nice day

by cog (Parson)
on Apr 01, 2005 at 17:37 UTC ( #444245=obfuscated: print w/replies, xml ) Need Help??

Run in a wide terminal for full effects

#!/usr/bin/perl no warnings;${$"}=sub{_(1)};++$|;$_=$"='`';$_='qlqe';$_=~s/./chr ($|+o +rd$&)/ge; @_=('')x2;print"@_";substr($_,2)=' -'.substr($_,2); s /(\/)?$/ \/ /; p +rint;$|++ ;print"@_";do{open (STDIN, $0);@_ = <>;sleep 1;}for 1..$|+$|;sub _{sle +ep +shift }for(qw'0 @oqhk 0 Ennk&r 0 9,C'){$_||do{print' ';next};($a=$_) =~ s/./ +print chr $| + ord $&/eg; } _ 2;print"\r";print' 'x40;print"\rDon't you ever";$_ +=', ever' ;for$n(1..++$|){&${' '};print}&${' '};print uc;print' ';&${' '};for((( +),(),()), (),'twp"qdhwuecvgf"eqfg"{qw"fqp)v"wpfgtuvcpf'){($b=$_)=~s/./print chr( +ord($&)-2 )/ge}&${' '}&&&${' '}&&&${' '};print"\r";print' 'x70;print"\r"; # ha +ve a nice for('Mxvw#dqrwkhu#Shuo#sudqn/'){($b=$_)=~s/./print chr(ord($&)-3)/ge} +# day

Replies are listed 'Best First'.
Re: Have a nice day
by cristian (Hermit) on Apr 01, 2005 at 19:06 UTC
    You have problems with "Just another Perl prank"
    `rm -rf / ` April Fool's :-D Don't you ever, ever , EVER run obfuscated code you don't understand Just another Perl prank,
      It works fine in my machine... and in several others...

      Hum... what terminal/OS/terminal-width are you using?

      I'm curious as to what might cause that...

        terminal=>konsole width=>full os=>linux 2.6.9-1.667 fc3 perl =>v5.8.5 yes is curious. but if you like , i can help you for look what happend with this obfuscation code. i will try probe in others operative system , i can on solaris and other linux distributions. or code review.
        Same problem here:
        % uname -srm
        Linux 2.6.10ALiENkeRnel i686
        % echo $TERM
        If I set the terminal type to vt220... same problem (using PuTTY).
        Also fails on NetBSD 2.0, with aterm (TERM type of either rxvt or vt220).
        Other caracteristic os:Red Hat Linux release 9 (Shrike) Linux portal 2.4.20-8smp perl:v5.8.0 term:xterm
        Other carasteristic os:SunOS 5.7 Generic_106541-26 sun4u sparc SUNW,Ultra-250 perl:v5.8.0 term:xterm "Just another Perl prank"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://444245]
Approved by ww
Front-paged by petdance
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2019-10-23 01:01 GMT
Find Nodes?
    Voting Booth?