Hi, you can find the answer here, http://perlmaven.com/scalar-and-list-context-in-perl
Good Luck to your exam! On Thu, May 29, 2014 at 1:20 PM, James Kerwin <jkerwin2...@gmail.com> wrote: > Hello all, long time lurker, first time requester... > > I have a Perl exam tomorrow and came across a question that I just cannot > find an answer to (past paper, this isn't cheating or homework etc.). > > Explain the difference between: > > ($test)=(@test); > > And > > $test=@test; > > If anybody could shed any light on this I'd be very grateful. > > Thanks, > James. >