close
E.g.,
By using repeat operator 'x', you could initialize multiple variables at one time.
my ( $iX, $iY, $iZ ) = (1) x 3;
my ($sX, $sY, $sZ ) = (undef) x 3; or
my ($sX, $sY, $sZ ) = "test" x 3;
全站熱搜
E.g.,
By using repeat operator 'x', you could initialize multiple variables at one time.
my ( $iX, $iY, $iZ ) = (1) x 3;
my ($sX, $sY, $sZ ) = (undef) x 3; or
my ($sX, $sY, $sZ ) = "test" x 3;
留言列表