Perl: case-sensitive

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.


Perl is a case sensitive language. This means that each variable, field name, arrays are all case sensitive.

#!/usr/bin/perl $name ="programmingBulls"; $Name = "programmingBulls"; print $name."\n"; print $Name."\n";

Therefore, $name and $Name signifies different variables and are accessed separately.





Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.