in reply to Re^2: Problems with Variable Scope in Perl
in thread Problems with Variable Scope in Perl

The string contained in $_ is being joined to the string in the last element of @pdbString This code could also be written as:
$pdbString[@pdbString - 1] .= $_;
or
$pdbString[-1] .= $_;
Which I find simpler to read (negative index references the array starting from the end).