Hi monks. I want to achieve using personal function with many arrays. Below script, I show you sample. According script, only print A... I want to print all of values(A B C) in @x. How can I achieve my personal function.
my (@x,@y);
@x =( "A" "B" "C");
@y =( "C" "D" "F");
&test(@x,@y):
sub &test{
@test = @_[0];
print "@test\n";
}