Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

ArrayHashMonster.pm

by Anonymous Monk
on Feb 03, 2000 at 09:24 UTC ( #2777=obfuscated: print w/replies, xml ) Need Help??

This obfuscation is actually useful. It's a module that returns a value that you can treat ilke a scalar reference *or* like a hash reference. For example:
$monster = new ArrayHashMonster ... ; print $monster->[1]; # This might print `Janvier' print $monster->{Jan}; # This can *also* print `Janvier'
The code is a tremendous obfuscation, but not in the usual way. It's not a huge glob of horrible punctuation characters. The obfuscation is a lot deeper, and I think it would be quite a challenge to most people to figure out how it works. If you want to see it, it's on CPAN at: http://www.perl.com/CPAN/authors/id/MJD/ArrayHashMonster-0.02.tar.gz

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://2777]
This node hasn't been approved yet
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2019-05-26 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (153 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!