#!/usr/bin/env perl use strict; use warnings; my $var = [1, 3, 5]; my $var_aref = $var; print "var has values: @$var\n"; print "var_aref has values: @$var_aref\n";