use strict; sub doubleWord { my $word = shift; return $word.$word; } print doubleWord('hello'); [download]
In reply to Re: Subroutine's behavior by keszler in thread Subroutine's behavior by zitic