Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: A First - Please Comment

by nashdj (Friar)
on Dec 05, 2000 at 16:28 UTC ( #44977=note: print w/replies, xml ) Need Help??


in reply to A First - Please Comment

Personally I like being as short as possible :)

$/=-1,print map(chr hex,split(/#|\n/,<DATA>))

Unfortunately short in this case is rather readable, so its not so great.

I really like your use of $= and $; they really play tricks on the eyes.

I would recommend that you

  • Abuse and confuse with map
  • Try encoding your data in different ways, it gets very familiar seeing japh text in decimal and hex :)
  • Throw in a couple of naked blocks just for the sake of it
  • Venture deeper into perl, and use things that you have never seen before, and mignt never use again. But you would be suprised, I personally find this a great way to learn the guts of perl.
- nashdj

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://44977]
help
Chatterbox?
[hippo]: erix++: "the browser ate my code"
[robby_dobby]: Eily: Now, people are trying to be inventive with crowdsourcing their work, eh? Sure, call on the admins to k-line these sockpuppet accounts!
[robby_dobby]: hippo: I like how you equated your browser to a dog....
[Eily]: well, Anonymonk is everyone's sockpuppet :D

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-04-25 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (454 votes). Check out past polls.