MC logo

Using Perl Identifiers

  Practice Problems

  1. @abc = ("Hi", "there", "how", "are", "you?");
    print "@abc\n";
  2. ($abc) = ("Hi", "there", "how", "are", "you?");
    print "$abc\n";
  3. @abc = ("Hi", "there", "how", "are", "you?");
    print "$abc[2]\n";
  4. @abc = ("Hi", "there", "how", "are", "you?");
    print "$abc\n";

Answer Using @ARGV>>