News for hackers. Stuff that matters.
Re:Deep-copying in JavaScript by amptorn on Thursday January 25, 2018 @03:04PM (#16234081)
Did you know? Perl is pass-by-reference.

    sub mutate {
      $_[0] = "blue";
    }
    
    my $color = "red";
    mutate($color);
    print($color); # "blue"

There are no comments on this comment yet.