This appears to change the signature of new() to SomeMod->new( undef, { name => value ... } ). Not to mention that it loses the order of the arguments.
OTOH splice @asList, 0, 2 is a reasonable alternative to ( shift @asList, shift @asList ).
In reply to Re^2: Force access a Hash ref as Array ref
by Anonymous Monk
in thread Force access a Hash ref as Array ref
by exilepanda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |