in reply to I'm amusing myself trying to obfuscate a little script ...
Something that you can read to go further:
- Writing highly obfuscated code in Perl
- Deobfuscation for fun and profit
- Structured obfuscation
- Yet another structured obfuscation
HTH
In Section
Obfuscated Code