vec( $_, $offset, $size ) = 1 for substr( $astring, $start, $len ); has no big advantage over vec( substr( $astring, $start, $len ), $offset, $size ) = 1;
I agree. But I've only very recently 'discovered' nested lvalue subs -- this thread is the first time I've ever used the construct publicly -- and I've never seen it used anywhere else.
I can well imagine that there are lot of silent readers looking at
and thinking:
"I'd never use such an unholy constructs even if it meant my code running a 1000 times more slowly."
In reply to Re^6: vec overflow?
by BrowserUk
in thread vec overflow?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |