I have a very simple question. If I am calling a subroutine and passing in StringA by value.. Then I declare a new variable in the subroutine ( we can call it StringB) and want to return StringB back.
How will StringB return? Will it be byval or byref? Does perl have a default way of assigning this?
How will StringB return? Will it be byval or byref? Does perl have a default way of assigning this?
Comment