Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

an_mo (2856)

  (email not shown publicly)

Journal of an_mo (2856)

Saturday December 22, 2001
08:16 PM

My thoughts on perl

Ok, so I have read the Llama book and even managed to code some stuff (I am not a professional programmer and I have never taken any classes or formal programming education so don't complain too loudly). Anyway here's my thoughts:
  • Perl is difficult: the idea of contexts gives me the creeps. It never returns an error because everything has a meaning. I have learned it the hard way when a couple of times I wrote: if ($string1 == $string2) which is never going to give me what I originally thougth it would. Anyway this is what makes it powerful so I can't complain
  • Why do I keep forgetting the $ in front of the varnames?
  • Why do I keep forgetting the ; at the end of the line?
  • Why doesn't the lama book tells you about arrays of arrays, arrays of hashes etc etc ..? I had to write incredible workarounds only to find out from a newsgroup that I could reference to arrays