What Perl inherits from C-Understanding through a comparison between Perl and C

Through a comparison of Perl and C language, I will explain what Perl inherited from C language. Many of the features of Perl's grammar are inherited from the C language.

Control syntax such as conditional branching by if statement in Perl, repetition by for statement, and while statement is very similar to the syntax of C language. Increment / decrement, operator type, operator precedence, scope, reference concept, etc. are also very similar to C language.

Associated Information