functional programming? You clearly rely on the side effect of shift here. Better usesub tail (@) { shift; @_ }
or something like that.sub tail (@) { @_[1..@_-1] }
In reply to Re: Re: Resources for Functional Programming?
by ambrus
in thread Resources for Functional Programming?
by kvale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |