in reply to Re: splice question
in thread splice question

...your line $,=''; doesn't actually do anything unless...

It doesn't do anything in the program, anyway, because he quoted the array. He wants $".

Replies are listed 'Best First'.
Re: Re: Re: splice question
by Not_a_Number (Prior) on Nov 06, 2003 at 22:41 UTC
    ...He wants $"

    Sorry, I must be missing something:

    my @array = ('a'..'z'); $" = ''; print "@array";

    What's the point? Just do:

    my @array = ('a'..'z'); print @array;

    Why not set a lot of other special variables to the null string (eg $\ = ''; $/=''; while we're about it? :-)

    dave