Please go through perlref and join for more information.#!/usr/bin/perl use strict; use warnings; my $msg = ['apple', 'banana', 'orange']; # array reference my @msg = @$msg; # dereferncing the arreay ref print "Dereferenced: @msg\n"; print join("\n",@$msg); # prints the array elem +ents sperated by "\n".
In reply to Re: what does @$ mean?
by lamp
in thread what does @$ mean?
by 2007fld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |