volume_mute

Starting names with special characters in Perl

publish date2022/09/02 12:32:00 GMT+10

volume_mute

Some of the problems with implicit declarations can be avoided by requiring names for specific types to begin with particular special characters.  In Perl

  1. Any name that begins with $ is a (1) transparent , which can store either a string or a numeric value.
  2. If a name begins with @, it is an (2) transparent .
  3. If it begins with a %, it is a (3) transparent .
drag and drop the selected option to the right place or type it instead
hash structure
scalar
array

Correct Answer

(1) scalar
(2) array
(3) hash structure

Reference

Concepts of Programming languages, 10th ed


Quizzes you can take where this question appears