I'd been wracking my brains for a way to do that as well :-)foreach (@{ ref $hr eq q/HASH/ ? [ $hr ] : $hr })
In reply to Re^2: Pushing a hashref into an array
by rastoboy
in thread Pushing a hashref into an array
by rastoboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |