in reply to Using exported symbols

I don't think you can export a my variable. Try our @ary.

The PerlMonk tr/// Advocate