There are a lot of parallels, and similar syntax, but the Real Important Stuff is very different. Memory management, for three or more.
Perl lexicals are like C auto variables, which are generally at the top of the stack.
C++ references are like Perl aliases. They have value semantics, but are pointers under the skin. Perl references are like C/C++ pointers.
After Compline,
Zaxo
In reply to Re: Finally, C
by Zaxo
in thread Finally, C
by Ido
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |