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.
- Perl if statements are similar to C if statements
 - Perl for statement has the same grammar as C language for statement
 - Perl while statement has the same grammar as C language while statement
 - Perl increments / decrements work the same as in C
 - Perl operators and C operators are similar in type and have the same priority
 - Perl can use a single scope in the same way as C
 - Perl reference functionality is similar to C pointer functionality
 
Perl Philosophy