Paste2 Logo
  1. #!/usr/bin/perl
  2.  
  3. my @test = qw(Just another Perl Hacker);
  4. print "Last index of the test list is:", $#test, "\n";
  5. print "Oh, of course ... ", join " ", @test, "\n";