in reply to print part of an array
If that's the case, there are several options. Being a new programmer, you're probably already familiar with shift. You could use that to get at the img, title, date, and author fields. You could use splice to get rid of the first four elements. I like list slices, though:
The trick there is that you're providing a list of indices of the array. Nothing terribly magical, but greatly useful.for my $para ((@array[4 .. $#array])) { # process $para }
|
|---|