Perl : Print Name of Array Passed to sub routine

后端 未结 1 1920
迷失自我
迷失自我 2021-01-16 21:44

Am passing one array and one scalar to a function to check where that value is part of array or not in case it is not part then push to array. For reference purpose what It

相关标签:
1条回答
  • 2021-01-16 22:26

    Pass the name of the array along with the reference; it isn't that hard.

    People do do things like this with source filters or PadWalker::var_name, but it isn't a good idea.

    0 讨论(0)
提交回复
热议问题