A06 says:

If you |shift| or |pop| without an argument, it shifts or pops whatever slurpy array is in scope.


Shall we assume that @_ is always an alias for this array, so I can say something like:


 multi sub pop (Array [EMAIL PROTECTED] = @caller::_) returns Scalar

?

btw, is ?@ legal in a signature? It's not specifically mentioned in A/S04, but it makes sense it would be allowed along with ?%.

-- Rod Adams

Reply via email to