in reply to Examples of the importance of references?

You could build an example based on

1) call by reference vs call by value
 &mysub(\@data) vs &mysub(@data)

2) return reference vs return value
 return \@xyz return @xyz