in reply to What does $, = " " do in this code?

I am not quite understand what does $, = " "; do in this package. Thank you.

Any guesses?

  • Comment on Re: What does $, = " " do in this code?

Replies are listed 'Best First'.
Re^2: What does $, = " " do in this code?
by alwynpan (Acolyte) on Oct 31, 2016 at 07:10 UTC
    If @alias = qw(a b c);, without  $, = " ";, it will print as # abc rather than # a b c. Correct?

      If @alias = qw(a b c);, without $, = " ";, it will print as # abc rather than # a b c. Correct?

      What happens when you try it?

Re^2: What does $, = " " do in this code?
by alwynpan (Acolyte) on Oct 31, 2016 at 07:03 UTC
    Not really. First thought was it is a variable name, but obviously it is not, since the variable name cannot be "," from my memory. Anything to do with regular expression?

      Not really. First thought was it is a variable name, but obviously it is not, since the variable name cannot be "," from my memory. Anything to do with regular expression?

      What is this "from my memory"? Is that perldoc://?