There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi, please advice me on implicit dereference of the shift
if it is possible.
-this works just fine, but is there any chance to dereference it somehow as ${$shift}+=2; ? without interim variable? !update Mr LanX thank you very much for provided answers. the answers are: ${shift()}+=2 ${+shift}+=2 though I'm going to google what that "+" stuff exactly does. In reply to shift implicit dereference by Lennotoecom
|
|