Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: My Philosophy...

by penguinfuz (Pilgrim)
on Jun 05, 2002 at 22:15 UTC ( [id://172023]=note: print w/replies, xml ) Need Help??


in reply to Re: My Philosophy...
in thread My Philosophy...

webfiend wrote: I'm new on the whole obfu thing, though (kinda the opposite of how I like to code)
Me too, there's a guy at work who write ALL his code ala-obfu... We joke about writing a parser for his code so others can help maintain it! Anyway, I put this together to use as a signature and it got mashed up because I didn't want to exceed that imaginary 4 line signature limit, so it really wasn't 'born' obfu. ;)

Are the values packed platform-dependent?
From my hazy understanding of templates, using the 'C' template just packs as an unsigned 1 byte integer, so long as the interger is within 1 byte everything is cool. But packing with a 'V' or an 'N' may actually produce more 'gibberish' free output regardless of the environment.

I would think they could come out as truly funky gibberish if I was using a significantly different environment.
To be honest I would not know as I have no environment other than Linux. This little piece of obfu was inspired by something I first read about pack() in the Cookbook. I must admit my knowledge of pack() has not grown so much since then, (no real need to use it yet apart from silly party tricks), so webfiend++ for making me dig through the Camel book some more!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found