When you learn a new language, the idea is not to try to write the new language like you did the old. The idea is to apply high level concepts about the type of data and control structures. The example you cite has nothing to do with Perl vs 'C'. People who learn C++ have similiar complaints about going to 'C'.
Instead, think about how you would implement what you *don't* have, or how you would write code without that language feature. Trying to write Perl in 'C' is futile, just like trying to write BASIC in assembly, or Forth in Perl.
It's your learning technique that needs to be revised, not the order in which you learn the languages.
--Chris (who hates language and OS bigotry) | [reply] |
My background is the complete opposite. I've spent years coding 'C' (never was it fun) before learning Perl. There's no comparison. Perl's a breath of fresh air, it fun powerful and very quick. What more could you want? | [reply] |