PEBKAC
to access an element via index, you want to use
Code:
$array_name[$index]
not
Code:
@array_name[$index]
don't worry about bless() unless you're writing custom classes.
also note that if you are declaring a variable with 'my' and assigning a value to it inside of a loop, it won't be available outside of that loop.