rv2av doesn't seem to care whether it gets an array reference or an array.
Update: This is confirmed by BrowserUK's less specific test and by looking at the 5.8.8 source:
PP(pp_rv2av) { ... if (SvROK(sv)) { ... av = (AV*)SvRV(sv); ... } else { if (SvTYPE(sv) == SVt_PVAV) { av = (AV*)sv; ... } ... } ... ...return something derived from av... }
In reply to Re^2: Amazing syntax of push (was Re: Removing duplicates in Array of Array)
by ikegami
in thread Removing duplicates in Array of Array
by iphony
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |