Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Can anyone figure this out?

by srawls (Friar)
on Jun 04, 2001 at 01:12 UTC ( [id://85372]=note: print w/replies, xml ) Need Help??


in reply to Can anyone figure this out?

Note: you had a type, take off the { and ; and it will work.

Well, I'll leave it to someone else to explain it, but I'll give you some tips to improve your obfu.

1. Use as few parentheses as possible: when you write ($&&~433)x ... you don't need those parentheses. It makes it harder to understand if you use as few parentheses as possible, I suggest you scan the precedence table while you are writing your obfu.

2. your $test:$one?$two is a little easy to understand. I would change your:

($&&~433)x$&>4?2:$&
to this:
$&&~433x$&>4*$^F+(!$&>4*$&)
Note I also used one of perl's special variables ($^F) instead of the number 2.

The 15 year old, freshman programmer,
Stephen Rawls

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found