in reply to Subroutine's behavior

perlsub
use strict; sub doubleWord { my $word = shift; return $word.$word; } print doubleWord('hello');