in reply to Type of arg 1 to push must be array (not private variable)

Use dereference:
push @$data_ref, \%temp;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Type of arg 1 to push must be array (not private variable)
by natxo (Scribe) on Aug 25, 2014 at 13:15 UTC
    so simple ...

    Thanks!