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

Re: TMTOWTDI the new year!

by japh (Friar)
on Dec 23, 2001 at 15:14 UTC ( [id://134044]=note: print w/replies, xml ) Need Help??


in reply to TMTOWTDI the new year!

my first publicly-posted perl obfuscation.
#!/usr/bin/perl -l print bulldozer_(" _ _ | two _ __ ___ _ __| |_ __ ___ ___ _ __ | | _____ | | '_ \ / _ \ '__| | '_ ` _ \ / _ \| '_ \| |/ / __| | thousand | |_) | __/ | | | | | | | | (_) | | | | <\__ \ | | .__/ \___|_| |_|_| |_| |_|\___/|_| |_|_|\_\___/ | two |_| ") ;sub#marine) bulldozer_{ #"=. $_ = length shift; $_ --+$_ --+$_ --+$_ --+$_ --+$_ --+$_ }#_bulldozer
Update: spoiler

A string (the 2002 banner) constructed with figlet and vi is passed to a function named bulldozer_, which takes the length of it and repeatedly adds that number to itself while decrementing it by 1 each time. The result of this construct is passed back to the original print statement.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found