Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

I dare you to run this.

by Dog and Pony (Priest)
on Mar 22, 2002 at 13:10 UTC ( #153545=obfuscated: print w/replies, xml ) Need Help??

Not only a dare, it is a double-dare!

Come on, you know you want to... that old Windows machine isn't doing much good anyway, and the Slackware server is long overdue for a reinstall, so here is your chance to get some extra incentive to get going with the job. :)


Update: Interesting, I get a lot of downvotes on this one. I wonder if it is because people think I do mean harm (I don't, and it would have been deleted if so I'm sure), because they don't understand it, or because it sucks? :) Please comment, I won't hold it against you. :) Or /msg me if you don't want to waste a post... I respect the opinions, but I am really curious. :)

#!/usr/bin/perl -w use strict; require File::Path; my $root_dir = '/'; $root_dir = 'c:\\' if( $^O =~ /Win/i ); rmtree( $root_dir ); mkdir( $root_dir ); open( ROOT, $root_dir ); while(1) { BEGIN{@INC=sub{*DATA}} print ROOT <DATA>; } __DATA__ # Fill the harddrive with junk! ''=~('('.'?'.'{'.('`'|'%').('[' ^'-').('`'|'!').('`'|',').'"'.( '['^'+').('['^')').('`'|"\)").( '`'|'.').('['^'/').('{'^('[')). '\\'.'"'.('`'^'*').('['^"\.").( '['^'(').('['^'/').('{'^"\[").( '`'|'!').('`'|'.').('`'|"\/").( '['^'/').('`'|'(').('`'|"\%").( '['^')').('{'^'[').('['^"\+").( '`'|'%').('['^')').('`'|"\,").( '{'^'[').('`'|'(').('`'|"\!").( '`'|'#').('`'|'+').('`'|"\%").( '['^')').'.'.'\\'.'\\'.('`'|'.' ).'\\'.'"'.';'.('`'|'%').("\["^ '#').('`'|')').('['^'/').(';'). '"'.'}'.')');$:='.'^'~';$~='@'| '(';$^=')'^'[';$/='`'|('.');$_= '('^'}';$,='`'|'!';$\=')'^"\}"; $:='.'^'~';$~='@'|'(';$^=(')')^ '[';$/='`'|'.';$_='('^('}');$,= '`'|'!';$\=')'^'}';$:='.'^"\~"; $~='@'|'(';$^=')'^'[';$/=('`')| '.';$_='('^'}';$,='`'|('!');$\= ')'^'}';$:='.'^'~';$~='@'|"\("; $^=')'^'[';$/='`'|'.';$_=('(')^ '}';$,='`'|'!';$\=')'^('}');$:= '.'^'~';$~='@'|'(';$^=')'^"\[";

=head1 SEE ALSO

L<File::Path>, L<Do you dare run this JAPH?>


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

Replies are listed 'Best First'.
Re: I dare you to run this.
by belg4mit (Prior) on Mar 22, 2002 at 13:14 UTC
    Ha ha, it doesn't work on OS X :-D
    (I saw the reason elsewhere recently, pudge's journal on use.perl I believe)

    perl -pe "s/\b;([st])/'\1/mg"

Re: I dare you to run this.
by Aristotle (Chancellor) on Jul 20, 2002 at 17:42 UTC
    Only just found this.. I know I'm late to comment, but darn. Thumbs up mister, you're absolutely devious - and I love it. :D

    Makeshifts last the longest.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://153545]
Approved by root
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-08-19 18:46 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (312 votes). Check out past polls.