#!/usr/bin/perl -w
use 5.10.1;
use strict;
use warnings;
@wt = (1,2,3,4);
print $wt[2];
####
perl pArray.plx
C:\strawberry\perl\programs>perl pArray.plx
Global symbol "@wt" requires explicit package name at pArray.plx line 6.
Global symbol "@wt" requires explicit package name at pArray.plx line 8.
Execution of pArray.plx aborted due to compilation errors.